Lines Matching defs:support
11 import test.support
12 from test import support
13 from test.support import os_helper
14 from test.support.script_helper import assert_python_ok, assert_python_failure
15 from test.support import threading_helper
16 from test.support import import_helper
33 with support.captured_stdout() as out:
41 with support.captured_stdout() as out:
70 with support.swap_attr(sys, 'displayhook', baddisplayhook):
144 with support.captured_stderr() as err:
160 with support.captured_stderr() as err:
169 with test.support.captured_output("stderr") as stderr:
181 test.support.reap_children()
306 @test.support.cpython_only
336 test.support.get_attribute(sys, "getwindowsversion")
378 @test.support.refcount_test
492 if leave_g.wait(timeout=support.LONG_TIMEOUT):
646 @unittest.skipUnless(support.is_emscripten, "only available on Emscripten")
714 test.support.get_attribute(sys, "getwindowsversion")
717 @test.support.cpython_only
721 @support.requires_subprocess()
766 'requires OS support of non-ASCII encodings')
769 @support.requires_subprocess()
782 @support.requires_subprocess()
884 @support.requires_subprocess()
888 @support.requires_subprocess()
914 @test.support.cpython_only
917 from test.support.script_helper import assert_python_ok
942 with_pymalloc = support.with_pymalloc()
1037 @support.requires_subprocess()
1084 @support.requires_subprocess()
1115 @test.support.cpython_only
1137 with test.support.captured_output("stderr") as stderr:
1138 with test.support.swap_attr(sys, 'unraisablehook',
1171 with test.support.captured_stderr() as stderr, \
1172 test.support.swap_attr(sys, 'unraisablehook',
1203 with test.support.captured_stderr() as stderr, test.support.swap_attr(
1218 with test.support.swap_attr(sys, 'unraisablehook',
1232 with test.support.swap_attr(sys, 'unraisablehook', hook_func):
1248 with test.support.captured_output("stderr") as stderr:
1249 with test.support.swap_attr(sys, 'unraisablehook', hook_func):
1261 @test.support.cpython_only
1270 check_sizeof = test.support.check_sizeof
1274 vsize = test.support.calcvobjsize
1313 size = test.support.calcvobjsize
1320 size = test.support.calcobjsize
1321 vsize = test.support.calcvobjsize
1621 size = test.support.calcobjsize
1622 vsize = test.support.calcvobjsize