Skip to content

Commit 30c501c

Browse files
committed
Remove sporadically failing unit test
1 parent b782a5a commit 30c501c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/test_venv_deactivate.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,3 @@
99
def test_venv_deactivate(tmp_path: Path):
1010
"""Checks that we can create, activate and deactivate an environment"""
1111
run_command("venv deactivate", activated=True, cwd=tmp_path)
12-
13-
14-
def test_venv_deactivate_noop(tmp_path: Path, capfd: pytest.CaptureFixture[str]):
15-
"""Checks that trying to deactivate an environment that is not activated does nothing"""
16-
run_command("venv deactivate", cwd=tmp_path)
17-
18-
output = capfd.readouterr().out
19-
assert "No virtual environment currently active, nothing to deactivate" in output

0 commit comments

Comments
 (0)