Skip to content

Commit 5f80671

Browse files
committed
HPy: ignore debug tests that need set_handle_stack_trace_limit [GR-39054]
1 parent 1e5d2e6 commit 5f80671

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

graalpython/lib-graalpython/modules/hpy/test/debug/test_handles_invalid.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ def test_keeping_and_reusing_argument_handle(compiler, hpy_debug_capture):
175175
assert hpy_debug_capture.invalid_handles_count == 1
176176

177177

178+
@pytest.mark.xfail(reason="set_handle_stack_trace_limit not implemented yet")
178179
def test_invalid_handle_crashes_python_if_no_hook(compiler, python_subprocess, fatal_exit_code):
179180
if not SUPPORTS_SYS_EXECUTABLE:
180181
pytest.skip("no sys.executable")

graalpython/lib-graalpython/modules/hpy/test/debug/test_handles_leak.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ def test_leak_from_method(compiler):
135135
leaks = [dh.obj for dh in _debug.get_open_handles(gen)]
136136
assert leaks == ["a"]
137137

138+
@pytest.mark.xfail(reason="set_handle_stack_trace_limit not implemented yet")
138139
def test_DebugHandle_id(compiler, with_alloc_trace):
139140
from hpy.universal import _debug
140141
mod = make_leak_module(compiler)
@@ -183,6 +184,7 @@ def test_DebugHandle_compare(compiler):
183184
with pytest.raises(TypeError):
184185
a1 < 'hello'
185186

187+
@pytest.mark.xfail(reason="set_handle_stack_trace_limit not implemented yet")
186188
def test_DebugHandle_repr(compiler, with_alloc_trace):
187189
from hpy.universal import _debug
188190
mod = make_leak_module(compiler)
@@ -215,6 +217,7 @@ def test_LeakDetector(compiler):
215217
assert 'hello' not in msg
216218
assert 'world' not in msg
217219

220+
@pytest.mark.xfail(reason="set_handle_stack_trace_limit not implemented yet")
218221
def test_closed_handles(compiler, with_alloc_trace):
219222
from hpy.universal import _debug
220223
mod = make_leak_module(compiler)

0 commit comments

Comments
 (0)