Skip to content

Commit a81b750

Browse files
authored
Fixed places on assertAlmostEqual
1 parent b9c0b35 commit a81b750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axelrod/tests/strategies/test_axelrod_second.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ def test_strategy(self):
835835
# The history matrix will be [[0, 2], [5, 6], [3, 6], [4, 2]]
836836
actions = match.play()
837837
self.assertEqual(actions, expected_actions) # Just to be consistant with the current test.
838-
self.assertAlmostEqual(player.calculate_chi_squared(len(expected_actions)), 2.395, places=4)
838+
self.assertAlmostEqual(player.calculate_chi_squared(len(expected_actions)), 2.395, places=3)
839839

840840
# Come back out of defect mode
841841
opponent_actions = [D, C, D, C, D, D, D, C, D, C, C, D, D, C, D, D, C,

0 commit comments

Comments
 (0)