We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 609ba2c commit a89afbaCopy full SHA for a89afba
tests/test_env.py
@@ -46,7 +46,10 @@ def test_can_get_venv_paths_with_conflicting_default_scheme(
46
assert get_scheme_names.call_count == 1
47
48
49
-@pytest.mark.skipif('posix_local' not in sysconfig.get_scheme_names(), reason='workaround for Debian/Ubuntu Python')
+SCHEME_NAMES = sysconfig.get_scheme_names()
50
+
51
+@pytest.mark.skipif('posix_local' not in SCHEME_NAMES, reason='workaround for Debian/Ubuntu Python')
52
+@pytest.mark.skipif('venv' in SCHEME_NAMES, reason = 'different call if venv is in scheme names')
53
def test_can_get_venv_paths_with_posix_local_default_scheme(
54
mocker: pytest_mock.MockerFixture,
55
):
0 commit comments