Skip to content

Commit 1891398

Browse files
Polish
Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent 1931021 commit 1891398

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

Lib/test/test_zoneinfo/test_zoneinfo.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,9 +1230,6 @@ def test_invalid_tzstr(self):
12301230
self.zone_from_tzstr(invalid_tzstr)
12311231

12321232
def test_invalid_tzstr_non_ascii_abbr(self):
1233-
# A non-ASCII letter reaches the parser via from_file()'s UTF-8 decode.
1234-
# It needs a separate test: it can't be ASCII-encoded for the shared
1235-
# invalid_tzstrs list, and the C error message holds the bytes repr.
12361233
tzstr = "ABÀC3"
12371234
if self.module is py_zoneinfo:
12381235
expected = re.escape(tzstr)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Make the C and pure-Python :mod:`zoneinfo` parsers validate POSIX TZ
22
abbreviations consistently, rejecting unquoted abbreviations with non-letter
3-
characters and empty quoted abbreviations (``<>``). Patch by tonghuaroot.
3+
characters and empty quoted abbreviations. Patch by tonghuaroot.

0 commit comments

Comments
 (0)