diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2022-02-25 22:42:37 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2022-02-25 22:42:37 +0100 |
commit | 759ea2c45c361f4934244c78652f7f1535b8682d (patch) | |
tree | 12ff9cb51a4acd5fdcc4397bf9b29d1be4218b19 /tests/compile | |
parent | a02b0842ccd2d39b753128fc8c7d58b178c58a08 (diff) | |
download | cython-759ea2c45c361f4934244c78652f7f1535b8682d.tar.gz |
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).
Diffstat (limited to 'tests/compile')
-rw-r--r-- | tests/compile/fused_redeclare_T3111.pyx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/compile/fused_redeclare_T3111.pyx b/tests/compile/fused_redeclare_T3111.pyx index 80e211fad..027a2705f 100644 --- a/tests/compile/fused_redeclare_T3111.pyx +++ b/tests/compile/fused_redeclare_T3111.pyx @@ -25,7 +25,10 @@ _WARNINGS = """ # cpdef redeclaration bug, from TestCythonScope.pyx 25:10: 'cpdef_method' redeclared 36:10: 'cpdef_cname_method' redeclared + # 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 1014:46: Ambiguous exception value, same as default return value: 0 |