Lines Matching refs:fake_setup
90 fake_setup = "import timeit\ntimeit._fake_timer.setup()" variable in TestTimeit
118 self.timeit(self.fake_stmt, self.fake_setup, number=0)
121 self.timeit(self.fake_stmt, self.fake_setup, number=3)
124 self.timeit(self.fake_callable_stmt, self.fake_setup, number=3)
140 delta_time = timeit.timeit(self.fake_stmt, self.fake_setup, number=0,
177 self.repeat(self.fake_stmt, self.fake_setup, repeat=0)
180 self.repeat(self.fake_stmt, self.fake_setup, number=0)
183 self.repeat(self.fake_stmt, self.fake_setup, repeat=3, number=5)
186 self.repeat(self.fake_callable_stmt, self.fake_setup,
204 delta_times = timeit.repeat(self.fake_stmt, self.fake_setup, repeat=0,
209 delta_times = timeit.repeat(self.fake_stmt, self.fake_setup, number=0,
359 t = timeit.Timer(stmt=self.fake_stmt, setup=self.fake_setup, timer=timer)