Skip to content

Commit b4f06c9

Browse files
authored
Use python test runner for extension python tests (#22385)
closes #9051
1 parent ed6f460 commit b4f06c9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.vscode/settings.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,10 @@
6161
"git.branchProtection": ["main", "release/*"],
6262
"git.pullBeforeCheckout": true,
6363
// Open merge editor for resolving conflicts.
64-
"git.mergeEditor": true
64+
"git.mergeEditor": true,
65+
"python.testing.pytestArgs": [
66+
"pythonFiles/tests"
67+
],
68+
"python.testing.unittestEnabled": false,
69+
"python.testing.pytestEnabled": true
6570
}

pythonFiles/tests/debug_adapter/test_install_debugpy.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ def _check_binaries(dir_path):
99
"win_amd64.pyd",
1010
"win32.pyd",
1111
"darwin.so",
12-
"i386-linux-gnu.so",
1312
"x86_64-linux-gnu.so",
1413
)
1514

@@ -18,10 +17,6 @@ def _check_binaries(dir_path):
1817
assert len(binaries) == len(expected_endswith)
1918

2019

21-
@pytest.mark.skipif(
22-
sys.version_info[:2] != (3, 7),
23-
reason="DEBUGPY wheels shipped for Python 3.7 only",
24-
)
2520
def test_install_debugpy(tmpdir):
2621
import install_debugpy
2722

0 commit comments

Comments
 (0)