Skip to content

Commit da8f94e

Browse files
committed
fixup! Fix invalid_unicode_re on platforms supporting lone surrogates
1 parent 373fb9c commit da8f94e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html5lib/tests/test_stream.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def makefile(self, _mode, _bufsize=None):
293293
def test_invalid_codepoints(inp, num):
294294
stream = HTMLUnicodeInputStream(StringIO(inp))
295295
for _i in range(len(inp)):
296-
_c = stream.char()
296+
stream.char()
297297
assert len(stream.errors) == num
298298

299299

0 commit comments

Comments
 (0)