Stéphane Wirtel added the comment:
Serhiy, I have a failed test with test_capi. I have applied the patch from
#28410 and set_name_chain_error_cause_2.patch.
stephane@sg1 ~/s/p/cpython> ./python -m test test_capi
Run tests sequentially
0:00:00 [1/1] test_capi
test test_capi failed -- Traceback (most recent call last):
File "/home/stephane/src/python/cpython/Lib/test/test_capi.py", line 221, in
test_return_result_with_error
br'Fatal Python error: a function returned a '
AssertionError: Regex didn't match: b'Fatal Python error: a function returned a
result with an error set\\nValueError\\n\\nDuring handling of the above
exception, another exception occurred:\\n\\nSystemError: <built-in function
return_result_with_error> returned a result with an error set\\n\\nCurrent
thread.*:\\n File .*, line 6 in <module>' not found in b'Fatal Python error: a
function returned a result with an error set\nValueError\n\nThe above exception
was the direct cause of the following exception:\n\nSystemError: <built-in
function return_result_with_error> returned a result with an error
set\n\nCurrent thread 0x00007f5c560c3700 (most recent call first):\n File
"<string>", line 6 in <module>'
test_capi failed
1 test failed:
test_capi
Total duration: 6 sec
Tests result: FAILURE
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue28214>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com