Skip to content

Commit e64184c

Browse files
committed
Simplify test case to avoid discrepancies between Python versions
1 parent b53eeea commit e64184c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/test_fields.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def test_init_date_field(self, style: XLSXStyle, original_value, cleaned_value):
280280
# Successful parsing
281281
("13:01", dt.time(13, 1)),
282282
("13:15:30", dt.time(13, 15, 30)),
283-
("14:15:16.1234Z", dt.time(14, 15, 16, 123400)),
283+
("14:15:16Z", dt.time(14, 15, 16)),
284284
# Failed parsing
285285
("2020-01-01", "2020-01-01"),
286286
("2020-02-03T13:01", "2020-02-03T13:01"),

0 commit comments

Comments
 (0)