Skip to content

Commit 3329c46

Browse files
drvinceknightmarcharper
authored andcommitted
Remove tests and further cheating strategies.
1 parent 8b0de35 commit 3329c46

File tree

5 files changed

+2
-295
lines changed

5 files changed

+2
-295
lines changed

axelrod/strategies/_strategies.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@
120120
ZDMem2,
121121
)
122122
from .gambler import EvolvableGambler, Gambler # pylint: disable=unused-import
123-
from .geller import Geller, GellerCooperator, GellerDefector
124123
from .gobymajority import (
125124
GoByMajority,
126125
GoByMajority5,
@@ -361,9 +360,6 @@
361360
Fortress3,
362361
Fortress4,
363362
GTFT,
364-
Geller,
365-
GellerCooperator,
366-
GellerDefector,
367363
GeneralSoftGrudger,
368364
GoByMajority,
369365
GoByMajority10,

axelrod/strategies/geller.py

Lines changed: 0 additions & 113 deletions
This file was deleted.

axelrod/tests/strategies/test_geller.py

Lines changed: 0 additions & 142 deletions
This file was deleted.

axelrod/tests/unit/test_classification.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,6 @@ def test_obey_axelrod(self):
165165
axl.Geller,
166166
axl.GellerCooperator,
167167
axl.GellerDefector,
168-
axl.MindBender,
169-
axl.MindController,
170-
axl.MindWarper,
171-
axl.MindReader,
172168
]
173169

174170
known_basic = [
@@ -215,10 +211,6 @@ def test_is_basic(self):
215211
axl.Geller,
216212
axl.GellerCooperator,
217213
axl.GellerDefector,
218-
axl.MindBender,
219-
axl.MindController,
220-
axl.MindWarper,
221-
axl.MindReader,
222214
]
223215

224216
known_basic = [

axelrod/tests/unit/test_tournament.py

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -414,16 +414,9 @@ def test_progress_bar_play_parallel(self):
414414
repetitions=test_repetitions,
415415
)
416416
)
417-
# These two examples are to make sure #465 is fixed.
417+
# This example is to make sure #465 is fixed.
418418
# As explained there: https://github.com/Axelrod-Python/Axelrod/issues/465,
419-
# these two examples were identified by hypothesis.
420-
@example(
421-
tournament=axl.Tournament(
422-
players=[axl.BackStabber(), axl.MindReader()],
423-
turns=2,
424-
repetitions=1,
425-
)
426-
)
419+
# this example was identified by hypothesis.
427420
@example(
428421
tournament=axl.Tournament(
429422
players=[axl.BackStabber(), axl.ThueMorse()], turns=2, repetitions=1
@@ -862,25 +855,6 @@ def test_init(self):
862855
seed=101,
863856
)
864857
)
865-
# These two examples are to make sure #465 is fixed.
866-
# As explained there: https://github.com/Axelrod-Python/Axelrod/issues/465,
867-
# these two examples were identified by hypothesis.
868-
@example(
869-
tournament=axl.Tournament(
870-
players=[axl.BackStabber(), axl.MindReader()],
871-
prob_end=0.2,
872-
repetitions=1,
873-
seed=102,
874-
)
875-
)
876-
@example(
877-
tournament=axl.Tournament(
878-
players=[axl.ThueMorse(), axl.MindReader()],
879-
prob_end=0.2,
880-
repetitions=1,
881-
seed=103,
882-
)
883-
)
884858
def test_property_serial_play(self, tournament):
885859
"""Test serial play using hypothesis"""
886860
# Test that we get an instance of ResultSet

0 commit comments

Comments
 (0)