Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
557a2a2a
Commit
557a2a2a
authored
Oct 01, 2017
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Catch concrete exception in test to prevent hiding actual errors.
parent
9bfc1e0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Cython/Build/Tests/TestIpythonMagic.py
Cython/Build/Tests/TestIpythonMagic.py
+1
-1
No files found.
Cython/Build/Tests/TestIpythonMagic.py
View file @
557a2a2a
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment