Skip to content

Commit 3fc68ed

Browse files
Add link to discord server. (#1473)
* Add link to discord server. * Suppress too slow healthcheck. * Fix ordering of imports.
1 parent 0f72d93 commit 3fc68ed

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
.. image:: https://github.com/Axelrod-Python/Axelrod/workflows/CI/badge.svg
88
:target: https://github.com/Axelrod-Python/Axelrod/actions
99

10+
Join `the Game Theory Discord <https://github.com/drvinceknight/equilibrium_explorers>`_
11+
server to chat -- `direct invite link <https://discord.gg/NfTAkhAeyc>`_.
12+
1013
Axelrod
1114
=======
1215

axelrod/tests/unit/test_strategy_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import unittest
44

5-
from hypothesis import given, settings
5+
from hypothesis import HealthCheck, given, settings
66
from hypothesis.strategies import integers, lists, sampled_from
77

88
import axelrod as axl
@@ -20,7 +20,7 @@ class TestDetectCycle(unittest.TestCase):
2020
cycle=lists(sampled_from([C, D]), min_size=2, max_size=10),
2121
period=integers(min_value=3, max_value=10),
2222
)
23-
@settings(max_examples=5)
23+
@settings(max_examples=5, suppress_health_check=(HealthCheck.too_slow,))
2424
def test_finds_cycle(self, cycle, period):
2525
history = cycle * period
2626
detected = detect_cycle(history)

0 commit comments

Comments
 (0)