Lines Matching defs:run
1 '''Test warnings replacement in pyshell.py and run.py.
8 from idlelib import run
16 # But if we run this file within idle, we are in the middle of the run.main loop
33 @unittest.skipIf(running_in_idle, "Does not work when run within Idle.")
36 run.capture_warnings(True)
37 self.assertIs(warnings.showwarning, run.idle_showwarning_subproc)
38 run.capture_warnings(False)
43 run.idle_showwarning_subproc(
51 @unittest.skipIf(running_in_idle, "Does not work when run within Idle.")