From 9ba20c40af2e233b5880dc7e102db18bf8fa3a6e Mon Sep 17 00:00:00 2001 From: Pavel Minaev Date: Wed, 24 Jun 2020 08:56:18 -0700 Subject: [PATCH] Disable test_attach_pid_client on Windows and macOS per #311 --- tests/debugpy/test_attach.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/debugpy/test_attach.py b/tests/debugpy/test_attach.py index bf11ae20..759871db 100644 --- a/tests/debugpy/test_attach.py +++ b/tests/debugpy/test_attach.py @@ -5,6 +5,7 @@ from __future__ import absolute_import, division, print_function, unicode_literals import pytest +import sys from tests import debug from tests.debug import runners, targets @@ -146,6 +147,10 @@ def test_reattach(pyfile, target, run): @pytest.mark.parametrize("pid_type", ["int", "str"]) +@pytest.mark.skipif( + not sys.platform.startswith("linux"), + reason="https://github.com/microsoft/debugpy/issues/311", +) def test_attach_pid_client(pyfile, target, pid_type): @pyfile def code_to_debug():