From 43aa16c32dfd6428768fd1bd9731b2f44aaf2220 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Sun, 14 Jun 2020 23:18:07 +0200 Subject: [PATCH] Remove stupid, obviously flaky test --- tests/test_util.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/test_util.py b/tests/test_util.py index 1e5eb784..02fe1b4f 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -15,7 +15,6 @@ seconds_to_timedelta, millis_to_timedelta, timedelta_to_seconds, - now, ) @@ -246,7 +245,3 @@ def test_timedelta_to_seconds(): assert timedelta_to_seconds(datetime.timedelta(seconds=1)) == 1 assert timedelta_to_seconds(datetime.timedelta(hours=1)) == 3600 assert timedelta_to_seconds(datetime.timedelta(days=1)) == 86400 - - -def test_now(): - assert datetime_to_millis(now()) == datetime_to_millis(datetime.datetime.now())