Skip to content

Commit 314c9c6

Browse files
committed
Fixes to the tests
1 parent 3f21591 commit 314c9c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

axelrod/tests/strategies/test_titfortat.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -633,17 +633,17 @@ def test_strategy(self):
633633

634634
# Plays TfT and defects in last round
635635
actions = [(C, C), (C, D), (D, C), (C, D), (D, C), (D, D)]
636-
self.versus_test(axelrod.Alternator(), expected_actions=actions
636+
self.versus_test(axelrod.Alternator(), expected_actions=actions,
637637
attrs={"is_defector": False},)
638638

639639
actions = [(C, C), (C, D), (D, C), (C, D), (D, C), (C, D)]
640640
self.versus_test(axelrod.Alternator(), expected_actions=actions,
641-
attrs={"is_defector": False}
641+
attrs={"is_defector": False},
642642
match_attributes={"length": -1})
643643

644644
# Becomes defector after 5 defections
645645
opponent = axelrod.MockPlayer(actions=[C, D, D, D, D, D, C, C])
646646
actions = [(C, C), (C, D), (D, D), (D, D),
647647
(D, D), (D, D), (D, C), (D, C)]
648-
self.versus_test(opponent, expected_actions=actions
648+
self.versus_test(opponent, expected_actions=actions,
649649
attrs={"is_defector": True})

0 commit comments

Comments
 (0)