Skip to content

Commit

Permalink
Bug: Fix the wrong flatten issue when path special char dir name
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua committed Nov 9, 2024
1 parent 2d28ba2 commit fcb4ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tosfs/tests/test_tosfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def test_put(tosfs: TosFileSystem, bucket: str, temporary_workspace: str):
) as file:
assert file.read() == "hello world"

# test two layer dirs of special-char
# test let special-char dir as the lpath
with tempfile.TemporaryDirectory() as local_temp_dir:
dir_1 = f"{local_temp_dir}/08《国家电网公司输变电设备技术监督规定》"
dir_1_1 = (
Expand Down

0 comments on commit fcb4ea0

Please sign in to comment.