summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2021-06-20 19:36:51 +0200
committerArmin Rigo <arigo@tunes.org>2021-06-20 19:36:51 +0200
commit99759a3230a94768b3eaefd9326b65a320627c7c (patch)
treee448d47c5adce6f000b8ff8661ce4b7d1b2a848b
parent8f72c869e48826da4108e9d8e544b74bfdc3cf37 (diff)
downloadcffi-99759a3230a94768b3eaefd9326b65a320627c7c.tar.gz
fix for fdc0cbcdb65f on pre-3.10 pythons
-rw-r--r--c/test_c.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/test_c.py b/c/test_c.py
index 007f4aa..fb97044 100644
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -1464,7 +1464,7 @@ During the call to 'onerror', another exception occurred:
Traceback (most recent call last):
File "$", line $, in oops
$
-AttributeError: 'str' object has no attribute 'append'$
+AttributeError: 'str' object has no attribute 'append$
""", """\
Exception ignored from cffi callback <function$Zcb1 at 0x$>, trying to convert the result back to C:
Traceback (most recent call last):
@@ -1475,7 +1475,7 @@ Exception ignored during handling of the above exception by 'onerror':
Traceback (most recent call last):
File "$", line $, in oops
$
-AttributeError: 'str' object has no attribute 'append'$
+AttributeError: 'str' object has no attribute 'append$
""")
finally:
sys.stderr = orig_stderr