Skip to content

Commit

Permalink
tests: fix hypo test
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Dec 6, 2016
1 parent b9276a9 commit 8a013d6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/test_hypo.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ def test_text_fsn_roudntrip(text):
strategies.sampled_from(("utf-8", "utf-16-le",
"utf-32-le", "latin-1")))
def test_bytes(data, encoding):
if u"\x00".encode(encoding) in data:
with pytest.raises(ValueError):
bytes2fsn(data, encoding)
return

try:
path = bytes2fsn(data, encoding)
except ValueError:
Expand Down

0 comments on commit 8a013d6

Please sign in to comment.