Skip to content

Commit 3205e5a

Browse files
Merge pull request #899 from Axelrod-Python/filter-tests
Add missing tests for filters.py
2 parents 1314fd0 + de5809d commit 3205e5a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

axelrod/strategies/_filters.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ class ExampleStrategy(Player):
4444
the value and operator passed to the function.
4545
"""
4646
classifier_value = player.classifier[classifier_key]
47-
if (isinstance(classifier_value, str) and
48-
classifier_value.lower() == 'infinity'):
49-
classifier_value = float('inf')
50-
5147
return operator(classifier_value, value)
5248

5349

0 commit comments

Comments
 (0)