Browse Source

Fix test accordingly

pull/242/head
Florian Mounier 10 years ago
parent
commit
9c079142b7
  1. 8
      pygal/test/test_date.py

8
pygal/test/test_date.py

@ -77,10 +77,10 @@ def test_datetime():
assert list( assert list(
map(lambda t: t.split(' ')[0], map(lambda t: t.split(' ')[0],
q(".axis.x text").map(texts))) == [ q(".axis.x text").map(texts))) == [
'2013-01-12T14:13:20+00:00', '2013-01-12T14:13:20',
'2013-01-24T04:00:00+00:00', '2013-01-24T04:00:00',
'2013-02-04T17:46:40+00:00', '2013-02-04T17:46:40',
'2013-02-16T07:33:20+00:00'] '2013-02-16T07:33:20']
def test_timedelta(): def test_timedelta():

Loading…
Cancel
Save