Lines Matching defs:run
64 def run(self):
67 print('task %s will run for %.1f usec' %
163 # This takes about n/3 seconds to run (about n/3 clumps of tasks,
167 # no more than 3 of the 10 can run at once
213 # run with a small(ish) thread stack size (256 KiB)
225 # run with a large thread stack size (1 MiB)
302 def run(self):
376 # Module globals are cleared before __del__ is run
924 # run, regardless of whether it was callable. The correct behaviour
1328 def run():
1334 t = threading.Thread(target=run)
1356 def run():
1362 t = threading.Thread(target=run)
1385 def run():
1392 t = threading.Thread(target=run)
1410 def run(self):
1442 def run(self):
1443 raise ValueError("run failed")
1460 self.assertIn(' raise ValueError("run failed")', stderr)
1461 self.assertIn('ValueError: run failed', stderr)
1486 def run(self):
1511 self.assertEqual(str(args.exc_value), 'run failed')