We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 174352b commit c283053Copy full SHA for c283053
axelrod/tests/strategies/test_evolvable_player.py
@@ -83,10 +83,10 @@ def test_mutate_variations(self):
83
if self.init_parameters:
84
return
85
seed(0)
86
- player = self.player()
87
variants_produced = False
88
for seed_ in range(2, 200):
89
seed(seed_)
+ player = self.player()
90
mutant = player.clone().mutate()
91
if player != mutant:
92
variants_produced = True
@@ -117,7 +117,7 @@ def test_crossover(self):
117
self.assertFalse(True)
118
119
def test_crossover_mismatch(self):
120
- other = EvolvableTestOpponent()
+ other = axl.Cooperator()
121
self.assertRaises(TypeError, self.player_class.crossover, other=other)
122
123
def test_serialization(self):
0 commit comments