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 4a6b287 commit 363f1d7Copy full SHA for 363f1d7
upath/tests/test_core.py
@@ -208,12 +208,12 @@ def test_copy_path_append():
208
copy_path = UPath(path, "folder2")
209
210
assert type(path) == type(copy_path) == type(pathlib.Path(""))
211
- assert f"{path}/folder2" == str(copy_path)
+ assert str(path / "folder2") == str(copy_path)
212
213
path = UPath("/tmp/folder")
214
copy_path = UPath(path, "folder2/folder3")
215
216
- assert f"{path}/folder2/folder3" == str(copy_path)
+ assert str(path / "folder2" / "folder3") == str(copy_path)
217
218
219
def test_copy_path_append_kwargs():
0 commit comments