Commit 5f76f363 authored by Kirill Smelkov's avatar Kirill Smelkov

golang: PyErr_SetExcInfo is now fixed on PyPy

https://bitbucket.org/pypy/pypy/commits/251b47698e8e
https://bitbucket.org/pypy/pypy/issues/3096#comment-54707695

Which in turn fixes recover to clear current exception (see 9e6ff8bd
"golang: Fix recover to clear current exception") for context.
parent 9869dc45
...@@ -1296,7 +1296,7 @@ def test_defer_excchain(): ...@@ -1296,7 +1296,7 @@ def test_defer_excchain():
assert tb[-1].name == "_" assert tb[-1].name == "_"
# verify that recover breaks exception chain. # verify that recover breaks exception chain.
@mark.xfail('PyPy' in sys.version and sys.version_info >= (3,), @mark.xfail('PyPy' in sys.version and sys.version_info >= (3,) and sys.pypy_version_info < (7,3),
reason="https://bitbucket.org/pypy/pypy/issues/3096") reason="https://bitbucket.org/pypy/pypy/issues/3096")
def test_defer_excchain_vs_recover(): def test_defer_excchain_vs_recover():
@func @func
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment