def test_timing_decorator(self):
        @stats.time("test")
        def _test_timing_decorator():
            time.sleep(0.01)
        _test_timing_decorator()
        test = stats.get_timing("test")
        self.assertTrue(test.get().average >= 10)
dataset/ETHPy150Open wadey/python-ostrich/ostrich/test/unit/test_stats.py/StatsTest.test_timing_decorator/original