def test_batch_with_batch_sleep_time(self):

        def default_time():
            batch = Batch(self.batch_csv)
            start = timer(); batch.run(); end = timer()
            return end - start

        def custom_sleep_time():
            batch = Batch(self.batch_csv, sleep=3)
            start = timer(); batch.run(); end = timer()
            return start - end

        self.assertTrue(default_time() < custom_sleep_time())
dataset/ETHPy150Open frictionlessdata/goodtables/tests/test_batch.py/TestPipeline.test_batch_with_batch_sleep_time/swapped operands of `-`