Lines Matching defs:support

17 from test import support
18 from test.support import os_helper
19 from test.support import script_helper
20 from test.support import warnings_helper
45 tarname = support.findfile("testtar.tar")
70 @support.requires_gzip()
77 @support.requires_bz2()
84 @support.requires_lzma()
273 with support.swap_attr(sys, 'stdout', tio):
310 with support.swap_attr(sys, 'stdout', tio):
338 with support.swap_attr(sys, 'stdout', tio):
485 with tarfile.open(support.findfile('recursion.tar')) as tar:
659 # Win32 has no support for fine grained permissions.
1072 # Unfortunately, not all platforms/filesystems support sparse files, and
1076 # platforms/filesystems that prove to support sparse files.
1223 support.gc_collect()
1589 support.is_emscripten or support.is_wasi,
2495 support.check__all__(self, tarfile, not_exported=not_exported)
2521 files = [support.findfile('tokenize_tests.txt'),
2522 support.findfile('tokenize_tests-no-coding-cookie-'
2530 files = [support.findfile('tokenize_tests.txt')]
2562 zipname = support.findfile('zipdir.zip')
2583 with support.captured_stdout() as t:
2594 with support.captured_stdout() as t:
2604 zipname = support.findfile('zipdir.zip')
2611 files = [support.findfile('tokenize_tests.txt'),
2612 support.findfile('tokenize_tests-no-coding-cookie-'
2624 files = [support.findfile('tokenize_tests.txt'),
2625 support.findfile('tokenize_tests-no-coding-cookie-'
2638 files = [support.findfile('tokenize_tests.txt')]
2649 files = [support.findfile('tokenize_tests.txt')]
2659 files = [support.findfile('tokenize_tests.txt'),
2660 support.findfile('tokenize_tests-no-coding-cookie-'
2723 zipname = support.findfile('zipdir.zip')
2792 # Test for issue #8741 regression. On platforms that do not support
3176 with support.swap_attr(sys, 'stdout', tio_prev):
3182 with support.swap_attr(sys, 'stdout', tio_new):
3316 if support.is_wasi:
3469 # No symlink support. The symlinks are ignored.
3741 with support.swap_attr(tarfile.TarFile, 'extraction_filter',