Testcase fix, update error message
[cython.git] / tests / errors / e_tempcast.pyx
1 cdef object blarg
2
3 def foo(obj):
4         cdef void *p
5         p = <void *>blarg # ok
6         p = <void *>(obj + blarg) # error - temporary
7         
8 _ERRORS = u"""
9 6:5: Casting temporary Python object to non-numeric non-Python type
10 """