Skip to content

Commit a5042a7

Browse files
Apply suggestion from @StanFromIreland
1 parent d464f07 commit a5042a7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lib/test/datetimetester.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3396,10 +3396,10 @@ def test_fromisoformat_fails_datetime(self):
33963396
'2009-04-19T12:30:45.400 ', # Trailing space (gh-130959)
33973397
'2009-04-19T12:30:45. 400', # Space before fraction (gh-130959)
33983398
'2020-2020', # Ambiguous 9-char date portion
3399-
'2009-04-19T12:30:45.+05:00', # Empty fraction before offset
3400-
'2009-04-19T12:30:45.-05:00', # Empty fraction before offset
3401-
'2009-04-19T12:30:45.Z', # Empty fraction before Z
3402-
'2009-04-19T12:30:45,+05:00', # Empty fraction (comma) before offset
3399+
'2009-04-19T12:30:45.+05:00', # Empty fraction before offset
3400+
'2009-04-19T12:30:45.-05:00', # Empty fraction before offset
3401+
'2009-04-19T12:30:45.Z', # Empty fraction before Z
3402+
'2009-04-19T12:30:45,+05:00', # Empty fraction (comma) before offset
34033403
]
34043404

34053405
for bad_str in bad_strs:

0 commit comments

Comments
 (0)