Merge "Quiesce assertAlmostEquals deprecation warning"
This commit is contained in:
commit
6322dd8474
@ -74,7 +74,7 @@ class TimeUtilsTest(test_utils.BaseTestCase):
|
|||||||
before = timeutils.utcnow()
|
before = timeutils.utcnow()
|
||||||
after = before + datetime.timedelta(days=7, seconds=59,
|
after = before + datetime.timedelta(days=7, seconds=59,
|
||||||
microseconds=123456)
|
microseconds=123456)
|
||||||
self.assertAlmostEquals(604859.123456,
|
self.assertAlmostEqual(604859.123456,
|
||||||
timeutils.delta_seconds(before, after))
|
timeutils.delta_seconds(before, after))
|
||||||
|
|
||||||
def test_iso8601_from_timestamp(self):
|
def test_iso8601_from_timestamp(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user