Skip to content

Commit e07fc75

Browse files
committed
Simplify test case to avoid discrepancies between Python versions
1 parent 9b8be8e commit e07fc75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_fields.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ class TestXLSXDateField:
212212
("2020-01-01", dt.datetime(2020, 1, 1, 0, 0)),
213213
("2020-02-03T13:01", dt.datetime(2020, 2, 3, 13, 1)),
214214
("2020-03-04T13:15:30", dt.datetime(2020, 3, 4, 13, 15, 30)),
215-
("2020-10-08T15:18:23.1234Z", dt.datetime(2020, 10, 8, 15, 18, 23, 123400)),
215+
("2020-10-08T15:18:23Z", dt.datetime(2020, 10, 8, 15, 18, 23)),
216216
# Failed parsing
217217
("foo", "foo"),
218218
(None, None),

0 commit comments

Comments
 (0)