##// END OF EJS Templates
Merge pull request #3062 from juliantaylor/double-pyximport-test...
Min RK -
r9997:ce0fb766 merge
parent child Browse files
Show More
@@ -34,6 +34,9 b' def test_cython_pyximport():'
34 ip.run_cell_magic('cython_pyximport', module_name, code)
34 ip.run_cell_magic('cython_pyximport', module_name, code)
35 ip.ex('g = f(10)')
35 ip.ex('g = f(10)')
36 nt.assert_equal(ip.user_ns['g'], 20.0)
36 nt.assert_equal(ip.user_ns['g'], 20.0)
37 ip.run_cell_magic('cython_pyximport', module_name, code)
38 ip.ex('h = f(-10)')
39 nt.assert_equal(ip.user_ns['h'], -20.0)
37 try:
40 try:
38 os.remove(module_name+'.pyx')
41 os.remove(module_name+'.pyx')
39 except OSError:
42 except OSError:
General Comments 0
You need to be logged in to leave comments. Login now