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 f676025 commit e83c8f7Copy full SHA for e83c8f7
axelrod/__init__.py
@@ -1,5 +1,9 @@
1
DEFAULT_TURNS = 200
2
3
+# We allow behavior at initialization that we don't want users to do.
4
+import warnings
5
+warnings.simplefilter('ignore', category=UserWarning)
6
+
7
# The order of imports matters!
8
from axelrod.version import __version__
9
from axelrod.load_data_ import load_pso_tables, load_weights
@@ -22,3 +26,5 @@
22
26
from axelrod.result_set import ResultSet
23
27
from axelrod.ecosystem import Ecosystem
24
28
from axelrod.fingerprint import AshlockFingerprint, TransitiveFingerprint
29
30
+warnings.simplefilter('default', category=UserWarning)
0 commit comments