diff --git a/axelrod/tests/unit/test_prober.py b/axelrod/tests/unit/test_prober.py index aab39f315..0f2cb7c67 100644 --- a/axelrod/tests/unit/test_prober.py +++ b/axelrod/tests/unit/test_prober.py @@ -183,7 +183,7 @@ class TestRemorsefulProber(TestPlayer): } def test_strategy(self): - "Randomly defects (probes) and always retaliates like tit for tat." + """Randomly defects (probes) and always retaliates like tit for tat.""" self.first_play_test(C) player = self.player(0.4) @@ -193,21 +193,21 @@ def test_strategy(self): self.assertEqual(player.strategy(opponent), D) def test_remorse(self): - """After probing, if opponent retaliates, will offer a C""" + """After probing, if opponent retaliates, will offer a C.""" player = self.player(0.4) opponent = axelrod.Cooperator() test_responses(self, player, opponent, [C], [C], [C], - random_seed=0, attrs = {'probing': False}) + random_seed=0, attrs={'probing': False}) test_responses(self, player, opponent, [C], [C], [D], random_seed=1, attrs={'probing': True}) test_responses(self, player, opponent, [C, D], [C, D], [D], - attrs = {'probing': False}) + attrs={'probing': False}) test_responses(self, player, opponent, [C, D, C], [C, D, D], [D], - attrs = {'probing': False}) + attrs={'probing': False}) def test_reduction_to_TFT(self): player = self.player(0)