File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ def test_equality(self):
187
187
self .assertEqual (p1 , p2 )
188
188
189
189
def test_equality_for_numpy_array (self ):
190
- # Check numpy array attribute (a special case)
190
+ """ Check numpy array attribute (a special case)"""
191
191
p1 = axelrod .Cooperator ()
192
192
p2 = axelrod .Cooperator ()
193
193
@@ -251,16 +251,16 @@ def test_equality_for_cycle(self):
251
251
# Check that type is cycle
252
252
self .assertIsInstance (p2 .cycle , itertools .cycle )
253
253
254
- def test_equaity_on_init (self ):
255
- """Test all instances of a strategy are equal on init"""
254
+ def test_equality_on_init (self ):
255
+ """Test instances of all strategies are equal on init"""
256
256
for s in axelrod .strategies :
257
257
p1 , p2 = s (), s ()
258
258
# Check three times (so testing equality doesn't change anything)
259
259
self .assertEqual (p1 , p2 )
260
260
self .assertEqual (p1 , p2 )
261
261
self .assertEqual (p1 , p2 )
262
262
263
- def test_equaity_on_with_player_attributes (self ):
263
+ def test_equality_with_player_as_attributes (self ):
264
264
"""Test for a strange edge case where players have pointers to each
265
265
other"""
266
266
p1 = axelrod .Cooperator ()
You can’t perform that action at this time.
0 commit comments