diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2021-04-03 08:23:44 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2021-07-22 09:26:06 +0200 |
commit | bf4979e2441ffbc9aaeb88f5c67608578040588f (patch) | |
tree | af8715faab3be4e64b691c4bb2aa30251c7117cb | |
parent | 3a34c5fb48ee86be9d0a819fee1ff3cb3efd1a1e (diff) | |
download | cython-bf4979e2441ffbc9aaeb88f5c67608578040588f.tar.gz |
Make a helper function in a C++ test correctly propagate exceptions so that it won't have to spit out compiler warnings.
-rw-r--r-- | tests/run/cpp_stl_conversion.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/cpp_stl_conversion.pyx b/tests/run/cpp_stl_conversion.pyx index 578915a0b..3ea404d25 100644 --- a/tests/run/cpp_stl_conversion.pyx +++ b/tests/run/cpp_stl_conversion.pyx @@ -15,7 +15,7 @@ py_set = set py_xrange = xrange py_unicode = unicode -cdef string add_strings(string a, string b): +cdef string add_strings(string a, string b) except *: return a + b def normalize(bytes b): |