Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
Signed-off-by: ashmeigh <[email protected]>
  • Loading branch information
ashmeigh committed Jul 18, 2024
1 parent f3beea1 commit 035bd28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mantidimaging/core/utility/test/execution_timer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ class ExecutionTimerTest(unittest.TestCase):

def test_execute(self):
t = ExecutionTimer()
self.assertEqual(t.total_seconds, None)
self.assertEqual(t.total_seconds, 0.0)
self.assertEqual(str(t), 'Elapsed time: unknown seconds')

with t:
self.assertEqual(t.total_seconds, None)
self.assertEqual(t.total_seconds, 0.0)

time.sleep(0.1)

Expand Down

0 comments on commit 035bd28

Please sign in to comment.