Lines Matching refs:fake_stmt
91 fake_stmt = "import timeit\ntimeit._fake_timer.inc()" 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)
127 self.timeit(self.fake_stmt, self.fake_callable_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)
190 self.repeat(self.fake_stmt, self.fake_callable_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,
237 args.append(self.fake_stmt)
359 t = timeit.Timer(stmt=self.fake_stmt, setup=self.fake_setup, timer=timer)