Skip to content

Commit 59b91a1

Browse files
test modified
1 parent 5a59eac commit 59b91a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/test_dtype_utc.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
import nose
99
import pandas as pd
1010
import datetime, pytz
11-
from pandas.util.testing import assert_frame_equal
11+
from pandas.util.testing import assert_series_equal
1212

13-
def test_dtype_utc(self):
13+
def test_dtype_utc():
1414

1515
data=pd.Series( [pd.NaT, pd.NaT, datetime.datetime(2016, 12, 12, 22, 24, 6, 100001, tzinfo=pytz.utc) ] )
1616

@@ -20,7 +20,7 @@ def test_dtype_utc(self):
2020
datetime.datetime(2016, 12, 12, 22, 24, 6, 100001, tzinfo=pytz.utc) ,
2121
datetime.datetime(2016, 12, 12, 22, 24, 6, 100001, tzinfo=pytz.utc) ])
2222

23-
assert_frame_equal(filled, expected)
23+
assert_series_equal(filled, expected)
2424

2525
if __name__ == '__main__':
2626
nose.runmodule(argv=[__file__, '-vvs', '-x', '--pdb', '--pdb-failure'],

0 commit comments

Comments
 (0)