Skip to content

Commit e282c7b

Browse files
committed
more tests
1 parent 18770d5 commit e282c7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

upath/tests/test_core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,10 @@ def test_copy_path():
191191

192192

193193
def test_copy_path_posix():
194-
path = UPath("/tmp/folder", anon=True)
194+
path = UPath("/tmp/folder")
195195
copy_path = UPath(path)
196196

197-
assert type(path) == type(copy_path)
197+
assert type(path) == type(copy_path) == pathlib.PosixPath
198198
assert str(path) == str(copy_path)
199199
assert path._drv == copy_path._drv
200200
assert path._root == copy_path._root

0 commit comments

Comments
 (0)