Skip to content

Commit

Permalink
Use python test runner for extension python tests (#22385)
Browse files Browse the repository at this point in the history
closes #9051
  • Loading branch information
karthiknadig authored Oct 30, 2023
1 parent ed6f460 commit b4f06c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 6 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,10 @@
"git.branchProtection": ["main", "release/*"],
"git.pullBeforeCheckout": true,
// Open merge editor for resolving conflicts.
"git.mergeEditor": true
"git.mergeEditor": true,
"python.testing.pytestArgs": [
"pythonFiles/tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
5 changes: 0 additions & 5 deletions pythonFiles/tests/debug_adapter/test_install_debugpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ def _check_binaries(dir_path):
"win_amd64.pyd",
"win32.pyd",
"darwin.so",
"i386-linux-gnu.so",
"x86_64-linux-gnu.so",
)

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


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

Expand Down

0 comments on commit b4f06c9

Please sign in to comment.