Skip to content

Commit d1180aa

Browse files
committed
remove monkeypatch that were breaking ci
1 parent b3eb5be commit d1180aa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_common.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,14 @@ def test_error_version_less_1_7():
5858
has_required_tmux_version('1.9a')
5959

6060

61-
def test_which_no_bin_found(monkeypatch):
62-
monkeypatch.setenv("PATH", "/")
61+
def test_which_no_bin_found():
6362
assert which('top')
6463
assert which('top', default_paths=[])
6564
assert not which('top', default_paths=[], append_env_path=False)
6665
assert not which('top', default_paths=['/'], append_env_path=False)
6766

6867

69-
def test_tmux_cmd_raises_on_not_found(monkeypatch):
68+
def test_tmux_cmd_raises_on_not_found():
7069
with pytest.raises(TmuxCommandNotFound):
7170
tmux_cmd('-V', tmux_search_paths=[], append_env_path=False)
7271

0 commit comments

Comments
 (0)