Skip to content

Commit 72f1374

Browse files
Apply suggestions from code review
Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent d3adcf7 commit 72f1374

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Lib/test/test_zoneinfo/test_zoneinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@ def test_invalid_tzstr(self):
11841184
# Invalid weekday
11851185
"AAA4BBB,M1.1.7/2,M2.1.1/2",
11861186
"AAA4BBB,M1.1.1/2,M2.1.7/2",
1187-
# Invalid Mm.w.d separator (must be a literal '.')
1187+
# Invalid Mm.w.d separator
11881188
"AAA4BBB,M3.2X0,M11.1.0",
11891189
"AAA4BBB,M3.2.0,M11.1X0",
11901190
"AAA4BBB,M3.2-0,M11.1.0/3",
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
Fix the pure-Python :mod:`zoneinfo` parser accepting a POSIX TZ ``Mm.w.d``
2-
transition rule with a non-period separator (for example ``M3.2X0``), which
3-
the C implementation already rejects. Patch by tonghuaroot.
1+
Fix the pure-Python :mod:`zoneinfo` parser accepting an invalid POSIX TZ
2+
transition rule with a non-period separator. Patch by tonghuaroot.

0 commit comments

Comments
 (0)