From 5f2823a048824ca701dde1071f6fb7ed13976f3a Mon Sep 17 00:00:00 2001 From: John DeNero Date: Tue, 4 Aug 2015 17:12:44 -0700 Subject: [PATCH] remove render check --- tests/test_formats.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/tests/test_formats.py b/tests/test_formats.py index 33b2670dd..15188a6a2 100644 --- a/tests/test_formats.py +++ b/tests/test_formats.py @@ -43,12 +43,8 @@ def test_currency_format(): """) -# def test_date_format(): -# vs = ['2015-07-01 22:39:44.900351'] -# t = Table([vs], ['time']) -# t.set_format('time', DateFormatter("%Y-%m-%d %H:%M:%S.%f")) -# assert_equal(t['time'][0], 1435815584.9) # values are timestamps -# assert_equal(t, """ -# time -# 2015-07-01 22:39:44.900351 -# """) \ No newline at end of file +def test_date_format(): + vs = ['2015-07-01 22:39:44.900351'] + t = Table([vs], ['time']) + t.set_format('time', DateFormatter("%Y-%m-%d %H:%M:%S.%f")) + assert_equal(t['time'][0], 1435815584.9) # values are timestamps