Commit 557a2a2a authored by Stefan Behnel's avatar Stefan Behnel

Catch concrete exception in test to prevent hiding actual errors.

parent 9bfc1e0a
...@@ -14,7 +14,7 @@ from Cython.TestUtils import CythonTest ...@@ -14,7 +14,7 @@ from Cython.TestUtils import CythonTest
try: try:
from IPython.testing.globalipapp import get_ipython from IPython.testing.globalipapp import get_ipython
from IPython.utils import py3compat from IPython.utils import py3compat
except: except ImportError:
# Disable tests and fake helpers for initialisation below. # Disable tests and fake helpers for initialisation below.
class _py3compat(object): class _py3compat(object):
def str_to_unicode(self, s): def str_to_unicode(self, s):
......
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