Commit ae4e39db authored by Stefan Behnel's avatar Stefan Behnel

Clean up test file.

parent 7d69ae07
......@@ -41,13 +41,11 @@ ctypedef int my_int
######## a.pyx ########
from other cimport (
A,
foo,
)
print A, foo(10)
print(A, foo(10))
cimport other
......@@ -57,8 +55,6 @@ cdef call_fooptr(int (*fptr)(int)):
def call_other_foo():
x = other.foo # GH4000 - failed because other was untyped
return call_fooptr(x) # check that x is correctly resolved as a function pointer
print(other.A, other.foo(10), call_other_foo())
......
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