Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Wrap test comment to 79 columns
  • Loading branch information
tonghuaroot committed Jun 26, 2026
commit 6dd23ffde76eb77d6c92ef3caa0ab00994f8f867
4 changes: 2 additions & 2 deletions Lib/test/test_zoneinfo/test_zoneinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1228,8 +1228,8 @@ def test_invalid_tzstr(self):

def test_invalid_tzstr_non_ascii_abbr(self):
# A non-ASCII letter reaches the parser via from_file()'s UTF-8 decode.
# It can't use the shared invalid_tzstrs list (encode("ascii") fails and
# the C message holds the bytes repr), so check each parser's message.
# It needs a separate test: it can't be ASCII-encoded for the shared
# invalid_tzstrs list, and the C error message holds the bytes repr.
tzstr = "ABÀC3"
footer = tzstr.encode("utf-8")

Expand Down
Loading