Skip to content

Commit

Permalink
tests: Don't remove chars from the path, it could merge surrogates
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Jul 27, 2017
1 parent fc4c741 commit 716fd8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_hypo.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_anything(pathlike):
assert isinstance(fsn, fsnative)

abspath = os.path.abspath(
fsn.replace(sep, fsnative()).replace(altsep or sep, fsnative()))
fsn.replace(sep, fsnative()).replace(altsep or sep, fsnative(u" ")))
if os.path.isabs(abspath):
assert uri2fsn(fsn2uri(abspath)) == abspath

Expand Down

0 comments on commit 716fd8f

Please sign in to comment.