Lines Matching defs:support

9 # * test_univnewlines - tests universal newline support
39 from test import support
40 from test.support.script_helper import (
42 from test.support import import_helper
43 from test.support import os_helper
44 from test.support import threading_helper
45 from test.support import warnings_helper
46 from test.support import skip_if_sanitizer
47 from test.support.os_helper import FakePath
390 self.skipTest("no largefile support")
430 support.is_emscripten, "fstat() of a pipe fd is not supported"
437 # support these operations.
613 support.requires(
668 support.gc_collect()
700 support.gc_collect()
775 support.gc_collect()
787 if support.real_max_memuse < support._2G:
1042 support.gc_collect()
1049 @support.cpython_only
1054 mismatch = support.detect_api_mismatch(pyio.RawIOBase, io.RawIOBase,
1060 mismatch = support.detect_api_mismatch(io.RawIOBase, pyio.RawIOBase)
1109 support.gc_collect()
1128 with support.catch_unraisable_exception() as cm:
1151 with support.swap_attr(raw, 'name', b):
1239 @support.cpython_only
1250 @support.cpython_only
1462 @support.requires_resource('cpu')
1598 support.gc_collect()
1805 support.gc_collect()
1837 @support.requires_resource('cpu')
1960 support.gc_collect()
2125 with support.catch_unraisable_exception():
2127 with support.catch_unraisable_exception():
2129 support.gc_collect()
2130 support.gc_collect()
2683 with support.swap_attr(raw, 'name', t):
2888 support.gc_collect()
2911 support.gc_collect()
2918 with support.catch_unraisable_exception() as cm:
3290 @support.no_tracing
3475 with support.swap_attr(rot13, '_is_text_encoding', True):
3509 with support.swap_attr(quopri, 'incrementaldecoder',
3759 support.gc_collect()
3776 support.gc_collect()
3934 @support.cpython_only
3992 support.is_emscripten, "fstat() of a pipe fd is not supported"
4065 support.gc_collect()
4106 support.gc_collect()
4160 support.is_emscripten, "fstat() of a pipe fd is not supported"
4166 support.is_emscripten, "fstat() of a pipe fd is not supported"
4320 @support.cpython_only
4348 from test.support import SuppressCrashReport
4434 support.gc_collect() # For PyPy or other GCs.
4445 large_data = item * (support.PIPE_MAX_SIZE // len(item) + 1)
4499 @support.no_tracing
4577 N = support.PIPE_MAX_SIZE