Commit 759ea2c4 authored by Stefan Behnel's avatar Stefan Behnel

Fix test by adding "expected" warnings. These should rather be avoided, but...

Fix test by adding "expected" warnings. These should rather be avoided, but this is the easiest fix for now (and it's not the only ones).
parent a02b0842
...@@ -25,7 +25,10 @@ _WARNINGS = """ ...@@ -25,7 +25,10 @@ _WARNINGS = """
# cpdef redeclaration bug, from TestCythonScope.pyx # cpdef redeclaration bug, from TestCythonScope.pyx
25:10: 'cpdef_method' redeclared 25:10: 'cpdef_method' redeclared
36:10: 'cpdef_cname_method' redeclared 36:10: 'cpdef_cname_method' redeclared
# from MemoryView.pyx # from MemoryView.pyx
329:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
329:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
987:29: Ambiguous exception value, same as default return value: 0 987:29: Ambiguous exception value, same as default return value: 0
987:29: Ambiguous exception value, same as default return value: 0 987:29: Ambiguous exception value, same as default return value: 0
1014:46: Ambiguous exception value, same as default return value: 0 1014:46: Ambiguous exception value, same as default return value: 0
......
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