Merged pull request #12 from bhy/T423.
[cython.git] / tests / errors / e_tempcast.pyx
index d334f16d74535d99fe5653bafb144bb762d95176..ff89915e2e8d0e3c0330cf4f83d3988bdbc24eb3 100644 (file)
@@ -1,3 +1,5 @@
+# mode: error
+
 cdef object blarg
 
 def foo(obj):
@@ -6,5 +8,5 @@ def foo(obj):
        p = <void *>(obj + blarg) # error - temporary
 
 _ERRORS = u"""
-6:5: Casting temporary Python object to non-numeric non-Python type
+8:5: Casting temporary Python object to non-numeric non-Python type
 """