8000 add test for datetime.time.fromisoformat parse change · python/cpython@e045d36 · GitHub
[go: up one dir, main page]

Skip to content

Commit e045d36

Browse files
committed
add test for datetime.time.fromisoformat parse change
1 parent 0ab8279 commit e045d36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/datetimetester.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4412,6 +4412,8 @@ def test_fromisoformat_fails(self):
44124412
'12:30:45.123456-', # Extra at end of microsecond time
44134413
'12:30:45.123456+', # Extra at end of microsecond time
44144414
'12:30:45.123456+12:00:30a', # Extra at end of full time
4415+
'12.5', # Decimal mark at end of hour
4416+
'12:30,5', # Decimal mark at end of minute
44154417
]
44164418

44174419
for bad_str in bad_strs:

0 commit comments

Comments
 (0)
0