diff options
author | da-woods <dw-git@d-woods.co.uk> | 2021-07-31 14:13:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-31 15:13:56 +0200 |
commit | d9adf77d2eb997808120440ba09f65d2e609f722 (patch) | |
tree | 29a795ad99932338d2e8c5543d0d161d4acf9723 | |
parent | 0574dbceef7b8ee16a9cc94091c3629dfa23133d (diff) | |
download | cython-d9adf77d2eb997808120440ba09f65d2e609f722.tar.gz |
Enable more cpp_locals tests (GH-4320)
Turns out that typeid() and C++ operators already work with "cpp_locals".
-rw-r--r-- | tests/errors/w_uninitialized_cpp.pyx | 3 | ||||
-rw-r--r-- | tests/run/cpp_operators.pyx | 2 | ||||
-rw-r--r-- | tests/run/fused_cpp.pyx | 3 |
3 files changed, 2 insertions, 6 deletions
diff --git a/tests/errors/w_uninitialized_cpp.pyx b/tests/errors/w_uninitialized_cpp.pyx index a89c58da5..ae35978a8 100644 --- a/tests/errors/w_uninitialized_cpp.pyx +++ b/tests/errors/w_uninitialized_cpp.pyx @@ -1,7 +1,6 @@ # cython: warn.maybe_uninitialized=True # mode: error -# tag: cpp, werror, no-cpp-locals -# FIXME - no-cpp-locals should work +# tag: cpp, werror from cython.operator import typeid diff --git a/tests/run/cpp_operators.pyx b/tests/run/cpp_operators.pyx index f3ae6452a..7900aa064 100644 --- a/tests/run/cpp_operators.pyx +++ b/tests/run/cpp_operators.pyx @@ -1,7 +1,5 @@ # mode: run # tag: cpp, werror -# tag: no-cpp-locals -# FIXME - cpp_locals should work but doesn't from __future__ import division diff --git a/tests/run/fused_cpp.pyx b/tests/run/fused_cpp.pyx index 71ad9173a..9f3bb5104 100644 --- a/tests/run/fused_cpp.pyx +++ b/tests/run/fused_cpp.pyx @@ -1,5 +1,4 @@ -# tag: cpp, no-cpp-locals -# FIXME (or at least investigate) - cpp_locals should probably work +# tag: cpp cimport cython from libcpp.vector cimport vector |