summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2017-10-01 15:25:22 +0200
committerStefan Behnel <stefan_ml@behnel.de>2017-10-01 15:25:22 +0200
commit9bfc1e0af988730d9f3e5ce527217d563a9f0192 (patch)
tree6688f7d42083eb3674b99dbd645b2dfcc1489f7c
parent32538fc162be830bf01ff96e43a020bc4924a1ee (diff)
downloadcython-9bfc1e0af988730d9f3e5ce527217d563a9f0192.tar.gz
Properly disable IPython tests on import failures.
-rw-r--r--Cython/Build/Tests/TestIpythonMagic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Build/Tests/TestIpythonMagic.py b/Cython/Build/Tests/TestIpythonMagic.py
index 5dff3a7f9..747404162 100644
--- a/Cython/Build/Tests/TestIpythonMagic.py
+++ b/Cython/Build/Tests/TestIpythonMagic.py
@@ -20,7 +20,7 @@ except:
def str_to_unicode(self, s):
return s
- __test__ = False
+ __test__ = {}
get_ipython = lambda: None
py3compat = _py3compat()