Skip to content

Commit dc30880

Browse files
committed
Update hypothesis example
1 parent d7ce789 commit dc30880

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

axelrod/tests/integration/test_filtering.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import unittest
22

3-
from axelrod import filtered_strategies, seed
3+
from axelrod import filtered_strategies, seed, short_run_time_strategies
44
from axelrod.tests.property import strategy_lists
55
from hypothesis import example, given, settings
66
from hypothesis.strategies import integers
@@ -39,7 +39,7 @@ def test_boolean_filtering(self, strategies):
3939
min_memory_depth=float("inf"),
4040
max_memory_depth=float("inf"),
4141
memory_depth=float("inf"),
42-
strategies=strategy_lists(min_size=20, max_size=20),
42+
strategies=short_run_time_strategies,
4343
)
4444
@settings(max_examples=5)
4545
def test_memory_depth_filtering(

0 commit comments

Comments
 (0)