Show More
@@ -4,6 +4,7 | |||||
4 | import os |
|
4 | import os | |
5 | import nose.tools as nt |
|
5 | import nose.tools as nt | |
6 |
|
6 | |||
|
7 | from IPython.testing import decorators as dec | |||
7 | from IPython.utils import py3compat |
|
8 | from IPython.utils import py3compat | |
8 |
|
9 | |||
9 | code = py3compat.str_to_unicode("""def f(x): |
|
10 | code = py3compat.str_to_unicode("""def f(x): | |
@@ -43,8 +44,9 def test_cython(): | |||||
43 | ip.run_cell_magic('cython', '', code) |
|
44 | ip.run_cell_magic('cython', '', code) | |
44 | ip.ex('g = f(10)') |
|
45 | ip.ex('g = f(10)') | |
45 | nt.assert_equals(ip.user_ns['g'], 20.0) |
|
46 | nt.assert_equals(ip.user_ns['g'], 20.0) | |
46 |
|
||||
47 |
|
47 | |||
|
48 | ||||
|
49 | @dec.skip_win32 | |||
48 | def test_extlibs(): |
|
50 | def test_extlibs(): | |
49 | code = py3compat.str_to_unicode(""" |
|
51 | code = py3compat.str_to_unicode(""" | |
50 | from libc.math cimport sin |
|
52 | from libc.math cimport sin |
General Comments 0
You need to be logged in to leave comments.
Login now