fix handling of bits from high byte of 4 byte sequences

This commit is contained in:
Kovid Goyal
2024-01-14 13:18:40 +05:30
parent c98b9403ac
commit e783eccc97
2 changed files with 18 additions and 7 deletions

View File

@@ -220,6 +220,8 @@ class TestParser(BaseTest):
x('abcd1234efgh5678')
x('abc\x1bd1234efgh5678')
x('abcd1234efgh5678ijklABCDmnopEFGH')
x('ニチ')
x('\x84\x85')
for which in (2, 3):
x = partial(t, which=which)