Commit bbc19c15 authored by Stefan Behnel's avatar Stefan Behnel

Hard switch off IPython test if import fails. Could not find a better way to...

Hard switch off IPython test if import fails. Could not find a better way to keep it from failing on appveyor.
parent a461b52a
......@@ -20,9 +20,14 @@ except ImportError:
def str_to_unicode(self, s):
return s
__test__ = {}
py3compat = _py3compat()
def skip_if_not_installed(_):
return None
else:
def skip_if_not_installed(c):
return c
try:
# disable IPython history thread before it gets started to avoid having to clean it up
from IPython.core.history import HistoryManager
......@@ -69,6 +74,7 @@ else:
return _skip_win32
@skip_if_not_installed
class TestIPythonMagic(CythonTest):
@classmethod
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment