def test_reset(self):
        """Test resetting the stopwatch."""

        self.sw.start()

        self.waste_time()

        self.sw.reset()

        t1 = time.time()
        cpu1 = time.clock()
        self.sw.start()

        self.waste_time()

        t2 = time.time()
        cpu2 = time.clock()
        self.sw.stop()

        self.check_times(t1 - t2, cpu2 - cpu1)

#
# Test suite
#
dataset/ETHPy150Open GeoscienceAustralia/agdc/tests/test_cube_util.py/TestStopwatch.test_reset/swapped operands of `-`