From d89104babcad46d89daa940528f8ba46663c1e26 Mon Sep 17 00:00:00 2001 From: Ben Bartlett Date: Fri, 8 Oct 2021 12:13:01 -0700 Subject: [PATCH] test bugfix --- python/tests/test_timing_measurements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_timing_measurements.py b/python/tests/test_timing_measurements.py index e84e76105..93ec0ca02 100644 --- a/python/tests/test_timing_measurements.py +++ b/python/tests/test_timing_measurements.py @@ -22,7 +22,7 @@ def test_timing_measurements(self): set(timing_measurements.measurement_names), set(timing.TIMING_MEASUREMENT_IDS.keys()), ) - self.assertGreater(timing_measurements.elapsed_time, 0) + self.assertTrue(timing_measurements.elapsed_time > 0 or timing_measurements.elapsed_time == -1) self.assertGreater(timing_measurements.num_time_steps, 0) self.assertGreaterEqual(timing_measurements.comm_efficiency, 0) self.assertGreaterEqual(timing_measurements.comm_efficiency_one_to_one, 0)