Debian Codegraph @

pypy/module/_hpy_universal/patches/04_FIXME_use_after_close.patch

raw
1 diff --git a/extra_tests/hpy_tests/_vendored/debug/test_handles_invalid.py b/extra_tests/hpy_tests/_vendored/debug/test_handles_invalid.py
2 --- a/extra_tests/hpy_tests/_vendored/debug/test_handles_invalid.py
3 +++ b/extra_tests/hpy_tests/_vendored/debug/test_handles_invalid.py
4 @@ -33,6 +33,8 @@ def test_no_invalid_handle(compiler, hpy
5 assert hpy_debug_capture.invalid_handles_count == 0
6
7
8 [email protected](sys.implementation.name == 'pypy',
9 + reason="Cannot recover from use-after-close on pypy")
10 def test_cant_use_closed_handle(compiler, hpy_debug_capture):
11 mod = compiler.make_module("""
12 HPyDef_METH(f, "f", f_impl, HPyFunc_O, .doc="double close")