Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
marcharper committed Sep 19, 2016
1 parent 16e5fae commit 5050f90
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions axelrod/tests/unit/test_prober.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 5050f90

Please sign in to comment.