From 75a7417e87b336e27fbc5df1f86376f7d46de444 Mon Sep 17 00:00:00 2001 From: Pavel Minaev Date: Tue, 19 Nov 2019 00:11:18 -0800 Subject: [PATCH] Disable attach_by_pid(wait=True) tests on Win32 and Mac due to #1926 --- tests/debug/runners.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/debug/runners.py b/tests/debug/runners.py index 206fd96d..15e70900 100644 --- a/tests/debug/runners.py +++ b/tests/debug/runners.py @@ -162,6 +162,8 @@ def _attach_common_config(session, target, cwd): def attach_by_pid(session, target, cwd=None, wait=True): if sys.version_info < (3,) and sys.platform == "win32": pytest.skip("https://github.com/microsoft/ptvsd/issues/1811") + if wait and not sys.platform.startswith("linux"): + pytest.skip("https://github.com/microsoft/ptvsd/issues/1926") log.info("Attaching {0} to {1} by PID.", session, target)