Skip to content

Commit 5f2823a

Browse files
committed
remove render check
1 parent 474803b commit 5f2823a

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

tests/test_formats.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,8 @@ def test_currency_format():
4343
""")
4444

4545

46-
# def test_date_format():
47-
# vs = ['2015-07-01 22:39:44.900351']
48-
# t = Table([vs], ['time'])
49-
# t.set_format('time', DateFormatter("%Y-%m-%d %H:%M:%S.%f"))
50-
# assert_equal(t['time'][0], 1435815584.9) # values are timestamps
51-
# assert_equal(t, """
52-
# time
53-
# 2015-07-01 22:39:44.900351
54-
# """)
46+
def test_date_format():
47+
vs = ['2015-07-01 22:39:44.900351']
48+
t = Table([vs], ['time'])
49+
t.set_format('time', DateFormatter("%Y-%m-%d %H:%M:%S.%f"))
50+
assert_equal(t['time'][0], 1435815584.9) # values are timestamps

0 commit comments

Comments
 (0)