Skip to content

Commit 35504f8

Browse files
Pavel Minaevint19h
Pavel Minaev
authored andcommitted
Work around #1230
Look for more specific text in the output to avoid false positives.
1 parent 34f7238 commit 35504f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/debugpy/test_run.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ def code_to_debug():
8989
with open(pydevd_debug_file, "r") as stream:
9090
contents = stream.read()
9191

92-
assert "critical" not in contents
93-
assert "Traceback" not in contents
92+
assert "FileNotFound" not in contents
9493

9594

9695
@pytest.mark.parametrize("run", runners.all_launch)

0 commit comments

Comments
 (0)