Skip to content

Commit 363f1d7

Browse files
committed
tests
1 parent 4a6b287 commit 363f1d7

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
@@ -208,12 +208,12 @@ def test_copy_path_append():
208208
copy_path = UPath(path, "folder2")
209209

210210
assert type(path) == type(copy_path) == type(pathlib.Path(""))
211-
assert f"{path}/folder2" == str(copy_path)
211+
assert str(path / "folder2") == str(copy_path)
212212

213213
path = UPath("/tmp/folder")
214214
copy_path = UPath(path, "folder2/folder3")
215215

216-
assert f"{path}/folder2/folder3" == str(copy_path)
216+
assert str(path / "folder2" / "folder3") == str(copy_path)
217217

218218

219219
def test_copy_path_append_kwargs():

0 commit comments

Comments
 (0)