Lines Matching defs:support
5 import test.support
6 from test.support import threading_helper, requires_subprocess
7 from test.support import verbose, cpython_only, os_helper
8 from test.support.import_helper import import_module
9 from test.support.script_helper import assert_python_ok, assert_python_failure
26 from test import support
95 test.support.reap_children()
158 test.support.check_disallow_instantiation(self, type(lock))
221 'platform does not support changing thread stack size')
233 'platform does not support changing thread stack size')
340 worker_saw_exception.wait(timeout=support.SHORT_TIMEOUT)
536 @support.requires_fork()
544 from test.support import wait_process
564 @support.requires_fork()
591 @support.requires_fork()
599 test.support.setswitchinterval(1e-6)
610 support.wait_process(pid, exitcode=10)
625 @support.requires_fork()
630 from test import support
639 support.wait_process(pid, exitcode=0)
647 @support.requires_fork()
652 from test import support
665 support.wait_process(pid, exitcode=0)
763 self.assertTrue(tstate_lock.acquire(timeout=support.SHORT_TIMEOUT), False)
1024 @support.requires_fork()
1029 from test import support
1034 support.wait_process(childpid, exitcode=0)
1045 @support.requires_fork()
1052 from test import support
1059 support.wait_process(childpid, exitcode=0)
1116 @support.requires_fork()
1126 support.wait_process(pid, exitcode=50)
1140 @support.requires_fork()
1159 support.wait_process(pid, exitcode=51)
1197 ret = test.support.run_in_subinterp(code)
1234 ret = test.support.run_in_subinterp(code)
1249 time.sleep({test.support.SHORT_TIMEOUT})
1257 with test.support.SuppressCrashReport():
1452 with support.captured_output("stderr") as stderr:
1463 @support.cpython_only
1467 with support.captured_output("stderr") as stderr:
1490 with support.captured_output("stderr") as stderr:
1505 with support.swap_attr(threading, 'excepthook', hook):
1528 with support.swap_attr(threading, 'excepthook', threading_hook), \
1529 support.swap_attr(sys, 'excepthook', sys_hook), \
1530 support.captured_output('stderr') as stderr:
1541 with support.captured_output("stderr") as output:
1551 with support.swap_attr(threading, 'excepthook', threading_hook):
1625 support.check__all__(self, threading, ('threading', '_thread'),