summaryrefslogtreecommitdiff
path: root/morphlib/stopwatch_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/stopwatch_tests.py')
-rw-r--r--morphlib/stopwatch_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/stopwatch_tests.py b/morphlib/stopwatch_tests.py
index 7441eac3..1a899f41 100644
--- a/morphlib/stopwatch_tests.py
+++ b/morphlib/stopwatch_tests.py
@@ -53,6 +53,6 @@ class StopwatchTests(unittest.TestCase):
our_delta = stop - start
watch_delta = self.stopwatch.start_stop_delta('start-stop')
-
- assert our_delta.total_seconds() > 0
self.assertEqual(our_delta, watch_delta)
+
+ assert self.stopwatch.start_stop_seconds('start-stop') > 0