test modified
This commit is contained in:
parent
5a59eac272
commit
59b91a1226
|
@ -8,9 +8,9 @@ Created on Sat Dec 17 09:34:47 2016
|
|||
import nose
|
||||
import pandas as pd
|
||||
import datetime, pytz
|
||||
from pandas.util.testing import assert_frame_equal
|
||||
from pandas.util.testing import assert_series_equal
|
||||
|
||||
def test_dtype_utc(self):
|
||||
def test_dtype_utc():
|
||||
|
||||
data=pd.Series( [pd.NaT, pd.NaT, datetime.datetime(2016, 12, 12, 22, 24, 6, 100001, tzinfo=pytz.utc) ] )
|
||||
|
||||
|
@ -20,7 +20,7 @@ def test_dtype_utc(self):
|
|||
datetime.datetime(2016, 12, 12, 22, 24, 6, 100001, tzinfo=pytz.utc) ,
|
||||
datetime.datetime(2016, 12, 12, 22, 24, 6, 100001, tzinfo=pytz.utc) ])
|
||||
|
||||
assert_frame_equal(filled, expected)
|
||||
assert_series_equal(filled, expected)
|
||||
|
||||
if __name__ == '__main__':
|
||||
nose.runmodule(argv=[__file__, '-vvs', '-x', '--pdb', '--pdb-failure'],
|
||||
|
|
Loading…
Reference in New Issue