We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caf94a9 commit b6c4c64Copy full SHA for b6c4c64
upath/tests/test_core.py
@@ -190,12 +190,11 @@ def test_copy_path():
190
assert path.fs.storage_options == copy_path.fs.storage_options
191
192
193
-@pytest.mark.skipif(sys.platform.startswith("win"))
194
def test_copy_path_posix():
195
path = UPath("/tmp/folder")
196
copy_path = UPath(path)
197
198
- assert type(path) == type(copy_path) == pathlib.PosixPath
+ assert type(path) == type(copy_path) == type(pathlib.Path(""))
199
assert str(path) == str(copy_path)
200
assert path._drv == copy_path._drv
201
assert path._root == copy_path._root
0 commit comments