Merge "Quiesce assertAlmostEquals deprecation warning"

This commit is contained in:
Zuul 2019-04-05 01:01:20 +00:00 committed by Gerrit Code Review
commit 6322dd8474

View File

@ -74,7 +74,7 @@ class TimeUtilsTest(test_utils.BaseTestCase):
before = timeutils.utcnow()
after = before + datetime.timedelta(days=7, seconds=59,
microseconds=123456)
self.assertAlmostEquals(604859.123456,
self.assertAlmostEqual(604859.123456,
timeutils.delta_seconds(before, after))
def test_iso8601_from_timestamp(self):