From 35504f83ed807fa9eddcacf940da4e35e7688d78 Mon Sep 17 00:00:00 2001 From: Pavel Minaev Date: Tue, 7 Mar 2023 10:34:59 -0800 Subject: [PATCH] Work around #1230 Look for more specific text in the output to avoid false positives. --- tests/debugpy/test_run.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/debugpy/test_run.py b/tests/debugpy/test_run.py index 3502ab8da..8ff3fd3a3 100644 --- a/tests/debugpy/test_run.py +++ b/tests/debugpy/test_run.py @@ -89,8 +89,7 @@ def code_to_debug(): with open(pydevd_debug_file, "r") as stream: contents = stream.read() - assert "critical" not in contents - assert "Traceback" not in contents + assert "FileNotFound" not in contents @pytest.mark.parametrize("run", runners.all_launch)