Skip to content

Commit

Permalink
fixup! Fix invalid_unicode_re on platforms supporting lone surrogates
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed May 20, 2016
1 parent 373fb9c commit da8f94e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html5lib/tests/test_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def makefile(self, _mode, _bufsize=None):
def test_invalid_codepoints(inp, num):
stream = HTMLUnicodeInputStream(StringIO(inp))
for _i in range(len(inp)):
_c = stream.char()
stream.char()
assert len(stream.errors) == num


Expand Down

0 comments on commit da8f94e

Please sign in to comment.