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 224b62b commit 60a70b3Copy full SHA for 60a70b3
axelrod/tests/unit/test_game.py
@@ -1,7 +1,7 @@
1
import unittest
2
3
import numpy as np
4
-from hypothesis import given, settings
+from hypothesis import given, settings, HealthCheck
5
from hypothesis.extra.numpy import array_shapes, arrays
6
from hypothesis.strategies import integers
7
@@ -123,7 +123,7 @@ def test_random_repr(self, asymgame):
123
self.assertEqual(expected_repr, str(asymgame))
124
125
@given(asymgame1=asymmetric_games(), asymgame2=asymmetric_games())
126
- @settings(max_examples=5)
+ @settings(max_examples=5, suppress_health_check=(HealthCheck.too_slow,))
127
def test_equality(self, asymgame1, asymgame2):
128
"""Tests equality of AsymmetricGames based on their matrices."""
129
self.assertFalse(asymgame1 == "foo")
0 commit comments