Skip to content

Commit 8f7e6f7

Browse files
authored
Update test_formatters.py
1 parent 9b2275a commit 8f7e6f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_formatters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ def test_writing_date_format(self):
5656
assert r[0, 1].strftime("%H:%M:%S") == "11:11:11"
5757
assert isinstance(r[0, 2], datetime.date) is True
5858
assert r[0, 2].strftime("%d/%m/%y %H:%M:%S") == "25/12/14 11:11:11"
59-
assert isinstance(r[0, 3], datetime.timedelta)
60-
assert r[0, 1].strftime("%H:%M:%S") == "3:30:20"
59+
assert isinstance(r[0, 3], datetime.datetime)
60+
assert r[0, 3].strftime("%D-%H:%M:%S") == "03/04/00-08:05:56"
6161
os.unlink(excel_filename)
6262

6363

0 commit comments

Comments
 (0)