Partial merge of trunk progress. Some tests still fail.
[cython.git] / tests / errors / e_notnone.pyx
index de6c294a3d055bd7b6f56dea3ea27d1a3748424b..25679762e7e7d5ac13751b38e7feb96f89a94e70 100644 (file)
@@ -1,7 +1,9 @@
+# mode: error
+
 cdef extern class Grail.Shrubbery
 
 cdef void spam(Shrubbery sh not None):
        pass
 _ERRORS = u"""
-3:15: 'not None' only allowed in Python functions
+5:15: 'not None' only allowed in Python functions
 """