Skip to content

Commit 88260b5

Browse files
committed
tests: Remove tmpdir fixture override
1 parent db5b67c commit 88260b5

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

tests/conftest.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,3 @@ def session(server):
8989
assert TEST_SESSION_NAME != "tmuxp"
9090

9191
return session
92-
93-
94-
@pytest.fixture()
95-
def tmpdir(tmpdir_factory):
96-
fn = tmpdir_factory.mktemp("tmuxp")
97-
return fn

tests/test_workspacebuilder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def test_start_directory(session, tmp_path: pathlib.Path):
438438
builder.build(session=session)
439439

440440
assert session == builder.session
441-
dirs = ["/usr/bin", "/dev", test_dir, "/usr", "/usr"]
441+
dirs = ["/usr/bin", "/dev", str(test_dir), "/usr", "/usr"]
442442

443443
for path, window in zip(dirs, session.windows):
444444
for p in window.panes:

0 commit comments

Comments
 (0)