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 18770d5 commit e282c7bCopy full SHA for e282c7b
upath/tests/test_core.py
@@ -191,10 +191,10 @@ def test_copy_path():
191
192
193
def test_copy_path_posix():
194
- path = UPath("/tmp/folder", anon=True)
+ path = UPath("/tmp/folder")
195
copy_path = UPath(path)
196
197
- assert type(path) == type(copy_path)
+ assert type(path) == type(copy_path) == pathlib.PosixPath
198
assert str(path) == str(copy_path)
199
assert path._drv == copy_path._drv
200
assert path._root == copy_path._root
0 commit comments