Lines Matching refs:switches
230 def run_main(self, seconds_per_increment=1.0, switches=None, timer=None): argument
233 if switches is None:
236 args = switches[:]
246 s = self.run_main(switches=['--bad-switch'])
261 s = self.run_main(seconds_per_increment=0.0000025, switches=['-n100'])
265 s = self.run_main(seconds_per_increment=2.0, switches=['-n35'])
270 switches=['-n35', '-s', 'print("CustomSetup")'])
276 switches=['-n35', '-s', 'a = "CustomSetup"', '-s', 'print(a)'])
281 s = self.run_main(seconds_per_increment=60.0, switches=['-r9'])
285 s = self.run_main(seconds_per_increment=60.0, switches=['-r-5'])
290 s = self.run_main(switches=['-h'])
296 s = self.run_main(switches=['-v'])
306 s = self.run_main(seconds_per_increment=0.000_030, switches=['-vv'])
329 switches=['-u', 'sec'])
333 switches=['-u', 'msec'])
337 switches=['-u', 'usec'])
343 switches=['-u', 'parsec'])
349 s = self.run_main(switches=['1/0'])
354 s = self.run_main(switches=['-n1', '1/0'])