Skip to content

Commit b6c4c64

Browse files
committed
fix tests
1 parent caf94a9 commit b6c4c64

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

upath/tests/test_core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,11 @@ def test_copy_path():
190190
assert path.fs.storage_options == copy_path.fs.storage_options
191191

192192

193-
@pytest.mark.skipif(sys.platform.startswith("win"))
194193
def test_copy_path_posix():
195194
path = UPath("/tmp/folder")
196195
copy_path = UPath(path)
197196

198-
assert type(path) == type(copy_path) == pathlib.PosixPath
197+
assert type(path) == type(copy_path) == type(pathlib.Path(""))
199198
assert str(path) == str(copy_path)
200199
assert path._drv == copy_path._drv
201200
assert path._root == copy_path._root

0 commit comments

Comments
 (0)