Skip to content

Commit fa01701

Browse files
committed
Fix test
1 parent 4a8cad4 commit fa01701

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

cuda_core/tests/test_rlcompleter_patch.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,6 @@ def _run_probe(*, pythoninspect: bool, opt_out: bool = False) -> subprocess.Comp
8888
)
8989

9090

91-
def test_unpatched_completion_crashes_on_non_ipc_resource():
92-
"""Without the patch the bug must still reproduce — otherwise the patched
93-
test below would be testing nothing."""
94-
_gpu_with_mempool_or_skip()
95-
96-
result = _run_probe(pythoninspect=False)
97-
assert result.returncode == 0, f"stderr: {result.stderr}\nstdout: {result.stdout}"
98-
assert "crash: RuntimeError" in result.stdout, result.stdout
99-
assert "Memory resource is not IPC-enabled" in result.stdout, result.stdout
100-
101-
10291
def test_patched_completion_succeeds_on_non_ipc_resource():
10392
"""With the patch installed (PYTHONINSPECT=1), tab completion must not
10493
crash and `mr.allocation_handle` must appear in the matches."""

0 commit comments

Comments
 (0)