projects
/
cython.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Partial merge of trunk progress. Some tests still fail.
[cython.git]
/
tests
/
errors
/
e_notnone.pyx
diff --git
a/tests/errors/e_notnone.pyx
b/tests/errors/e_notnone.pyx
index de6c294a3d055bd7b6f56dea3ea27d1a3748424b..25679762e7e7d5ac13751b38e7feb96f89a94e70 100644
(file)
--- a/
tests/errors/e_notnone.pyx
+++ b/
tests/errors/e_notnone.pyx
@@
-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
"""