Skip to content

Commit 14ed8da

Browse files
committed
fixup! Add tests for internal venv activation checks
1 parent 53cbdd0 commit 14ed8da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_venv_internals.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
from tests.helpers import run_command
77

88

9-
@pytest.mark.order(after="test_venv_deactivate.py::test_venv_deactivate")
109
def test_check_venv_activated_no_env(monkeypatch: pytest.MonkeyPatch, tmp_path: Path):
1110
with pytest.raises(subprocess.CalledProcessError), monkeypatch.context() as m:
1211
m.delenv("VIRTUAL_ENV", raising=False)
13-
run_command(["venv deactivate", "venv::_check_venv_activated"], cwd=tmp_path, activated=False)
12+
run_command(["venv::_check_venv_activated"], cwd=tmp_path, activated=False)
1413

1514

1615
@pytest.mark.order(after="test_venv_activate.py::test_venv_activate")

0 commit comments

Comments
 (0)