We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f3efa1 commit 980ee39Copy full SHA for 980ee39
pandas/tseries/tests/test_timeseries.py
@@ -2507,7 +2507,7 @@ def test_class_ops(self):
2507
import pytz
2508
2509
def compare(x,y):
2510
- self.assert_(int(Timestamp(x).value/1e9) == int(Timestamp(y).value/1e9))
+ self.assertEqual(int(Timestamp(x).value/1e9), int(Timestamp(y).value/1e9))
2511
2512
compare(Timestamp.now(),datetime.now())
2513
compare(Timestamp.now('UTC'),datetime.now(pytz.timezone('UTC')))
0 commit comments