at master 1.0 kB view raw
1diff --git a/tests/debug/runners.py b/tests/debug/runners.py 2index cac4fbf5..079bb743 100644 3--- a/tests/debug/runners.py 4+++ b/tests/debug/runners.py 5@@ -163,7 +163,7 @@ def _attach_common_config(session, target, cwd): 6 @_runner 7 @contextlib.contextmanager 8 def attach_pid(session, target, cwd=None, wait=True): 9- if wait and not sys.platform.startswith("linux"): 10+ if wait: 11 pytest.skip("https://github.com/microsoft/ptvsd/issues/1926") 12 13 log.info("Attaching {0} to {1} by PID.", session, target) 14diff --git a/tests/debugpy/test_attach.py b/tests/debugpy/test_attach.py 15index 78453bfe..458716af 100644 16--- a/tests/debugpy/test_attach.py 17+++ b/tests/debugpy/test_attach.py 18@@ -153,8 +153,7 @@ def test_reattach(pyfile, target, run): 19 20 21 @pytest.mark.parametrize("pid_type", ["int", "str"]) 22-@pytest.mark.skipif( 23- not sys.platform.startswith("linux"), 24+@pytest.mark.skip( 25 reason="https://github.com/microsoft/debugpy/issues/311", 26 ) 27 @pytest.mark.flaky(retries=2, delay=1)