@@ -16,6 +16,7 @@ def hpy_abi():
16
16
yield "debug"
17
17
18
18
19
+ @pytest .mark .xfail
19
20
@pytest .mark .skipif (not SUPPORTS_SYS_EXECUTABLE , reason = "needs subprocess" )
20
21
def test_charptr_use_after_implicit_arg_handle_close (compiler , python_subprocess ):
21
22
mod = compiler .compile_module ("""
@@ -53,6 +54,7 @@ def test_charptr_use_after_implicit_arg_handle_close(compiler, python_subprocess
53
54
assert b"UnicodeDecodeError" in result .stderr
54
55
55
56
57
+ @pytest .mark .xfail
56
58
@pytest .mark .skipif (not SUPPORTS_SYS_EXECUTABLE , reason = "needs subprocess" )
57
59
def test_charptr_use_after_handle_close (compiler , python_subprocess ):
58
60
mod = compiler .compile_module ("""
@@ -83,6 +85,7 @@ def test_charptr_use_after_handle_close(compiler, python_subprocess):
83
85
assert b"UnicodeDecodeError" in result .stderr
84
86
85
87
88
+ @pytest .mark .xfail
86
89
@pytest .mark .skipif (not SUPPORTS_MEM_PROTECTION , reason =
87
90
"Could be implemented by checking the contents on "
88
91
"close, but long term it would be better to provide"
@@ -133,6 +136,7 @@ def test_charptr_correct_usage(compiler):
133
136
assert mod .f ('I wont be leaked!' ) == 'I wont be leaked!' ;
134
137
135
138
139
+ @pytest .mark .xfail
136
140
def test_charptr_limit_stress_test (compiler ):
137
141
from hpy .universal import _debug
138
142
mod = compiler .make_module ("""
0 commit comments