Skip to content

Commit

Permalink
fix dirty code: long line
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Jul 12, 2016
1 parent fdd10ed commit da0ab25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ def test_reading_date_format(self):
01/01/15 13:13:13
0.0 0.0
"""
r = pe.get_sheet(file_name=os.path.join("tests", "fixtures", "date_field.xls"))
r = pe.get_sheet(file_name=os.path.join("tests", "fixtures",
"date_field.xls"))
assert isinstance(r[1, 0], datetime.date) is True
assert r[1, 0].strftime("%d/%m/%y") == "25/12/14"
assert isinstance(r[1, 1], datetime.time) is True
Expand Down

0 comments on commit da0ab25

Please sign in to comment.