@@ -3762,6 +3762,11 @@ def test_fromisoformat_fails_datetime(self):
37623762 '2009-04-19T12:30:45.-05:00' , # Empty fraction before offset
37633763 '2009-04-19T12:30:45.Z' , # Empty fraction before Z
37643764 '2009-04-19T12:30:45,+05:00' , # Empty fraction (comma) before offset
3765+ '2009-04-19T12304578' , # Fraction without a decimal mark
3766+ '2009-04-19T123045789' , # Fraction without a decimal mark
3767+ '2009-04-19T123045123456789' , # Fraction without a decimal mark
3768+ '2009-04-19T123045+00000000' , # Offset fraction without decimal mark
3769+ '2009-04-19T12:30:45+00000000' , # Offset fraction without decimal mark
37653770 ]
37663771
37673772 for bad_str in bad_strs :
@@ -5042,6 +5047,11 @@ def test_fromisoformat_fails(self):
50425047 '12:30:45.-05:00' , # Empty fraction before offset
50435048 '12:30:45.Z' , # Empty fraction before Z
50445049 '12:30:45,+05:00' , # Empty fraction (comma) before offset
5050+ '12304578' , # Fraction without a decimal mark
5051+ '123045789' , # Fraction without a decimal mark
5052+ '123045123456789' , # Fraction without a decimal mark
5053+ '123045+00000000' , # Offset fraction without decimal mark
5054+ '12:30:45+00000000' , # Offset fraction without decimal mark
50455055 ]
50465056
50475057 for bad_str in bad_strs :
0 commit comments