blob: 58ddce13c3d0702bd5dbaba8b464cb4279adce5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
From 9bc0abecb3a08ea13313200a51f1ee26a65e5be3 Mon Sep 17 00:00:00 2001
From: Stefan Behnel <stefan_ml@behnel.de>
Date: Sat, 3 Apr 2021 08:23:44 +0200
Subject: [PATCH] Make a helper function in a C++ test correctly propagate
exceptions so that it won't have to spit out compiler warnings.
---
tests/run/cpp_stl_conversion.pyx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/run/cpp_stl_conversion.pyx b/tests/run/cpp_stl_conversion.pyx
index 5278c677ae..ccebc700ee 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):
|