From c7bf40261ee749b5f7f76f33cbd620bc704aac83 Mon Sep 17 00:00:00 2001 From: Tom Close Date: Thu, 16 Nov 2023 09:21:48 +1100 Subject: [PATCH] touched up windows --- fileformats/core/tests/test_test_extras.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fileformats/core/tests/test_test_extras.py b/fileformats/core/tests/test_test_extras.py index bc739a3..8fbab8c 100644 --- a/fileformats/core/tests/test_test_extras.py +++ b/fileformats/core/tests/test_test_extras.py @@ -13,7 +13,7 @@ def test_sample(): def test_mock(): mock = Foo.mock() if platform.system() == "Windows": - expected_root = Path().cwd().drive + expected_root = Path(Path().cwd().drive) else: expected_root = Path("/") assert mock.fspath == expected_root / "mock" / "foo.foo"