/external/python/cpython3/Lib/ctypes/test/ |
H A D | test_win32.py | 5 from test import support namespace 68 if support.HAVE_DOCSTRINGS:
|
/external/python/cpython3/Lib/distutils/tests/ |
H A D | test_core.py | 8 import test.support namespace 9 from test.support import captured_stdout, run_unittest 11 from distutils.tests import support namespace 48 class CoreTestCase(support.EnvironGuard, unittest.TestCase): 65 path = test.support.TESTFN 71 def write_setup(self, text, path=test.support.TESTFN): 108 os.mkdir(test.support.TESTFN) 109 setup_py = os.path.join(test.support.TESTFN, "setup.py")
|
H A D | test_cygwinccompiler.py | 6 from test.support import run_unittest 13 from distutils.tests import support namespace 28 class CygwinCCompilerTestCase(support.TempdirManager,
|
H A D | test_dir_util.py | 13 from distutils.tests import support namespace 14 from test.support import run_unittest 17 class DirUtilTestCase(support.TempdirManager, unittest.TestCase):
|
/external/python/cpython3/Lib/test/libregrtest/ |
H A D | refleak.py | 7 from test import support namespace 61 zdc = None # Run unmodified on platforms without zipimport support 72 fname = os.path.join(support.SAVEDCWD, fname) 137 pass # Run unmodified on platforms without zipimport support namespace
|
H A D | runtest_mp.py | 9 from test import support namespace 13 print("Multiprocess option requires thread support") 43 cmd = [sys.executable, *support.args_from_interpreter_flags(), 57 cwd=support.SAVEDCWD)
|
/external/python/cpython3/Lib/test/ |
H A D | test__osx_support.py | 2 Test suite for _osx_support: shared OS X support functions. 11 import test.support namespace 22 self.env = test.support.EnvironmentVarGuard() 42 test.support.unlink(self.prog_name) 44 self.addCleanup(test.support.unlink, self.prog_name) 55 test.support.unlink(self.prog_name) 56 self.addCleanup(test.support.unlink, self.prog_name) 146 test.support.unlink(c_name) 147 self.addCleanup(test.support.unlink, c_name) 201 test.support [all...] |
H A D | test_cmd.py | 12 from test import support namespace 225 support.run_doctest(test_cmd, verbose) 226 support.run_unittest(TestAlternateInput) 229 trace = support.import_module('trace')
|
H A D | test_dict_version.py | 5 from test import support namespace 9 _testcapi = support.import_module('_testcapi')
|
H A D | test_docxmlrpc.py | 4 from test import support namespace 5 threading = support.import_module('threading') 171 b'<br>\nThis server does NOT support system'
|
H A D | test_format.py | 1 from test.support import verbose, TestFailed 4 import test.support as support namespace 7 maxsize = support.MAX_Py_ssize_t 443 @support.cpython_only 476 @support.cpython_only
|
H A D | test_frame.py | 7 from test import support namespace 40 support.gc_collect() 44 support.gc_collect() 98 @support.cpython_only 101 with support.disable_gc():
|
H A D | test_getpass.py | 6 from test import support namespace 154 with support.captured_stderr() as stderr:
|
H A D | test_mailcap.py | 4 import test.support namespace 8 MAILCAPFILE = test.support.findfile("mailcap.txt") 59 # For backwards compatibility, readmailcapfile() and lookup() still support 77 with test.support.EnvironmentVarGuard() as env: 139 with test.support.EnvironmentVarGuard() as env:
|
H A D | test_netrc.py | 2 from test import support namespace 4 temp_filename = support.TESTFN 108 d = support.TESTFN 110 self.addCleanup(support.rmtree, d) 117 with support.EnvironmentVarGuard() as environ: 127 support.run_unittest(NetrcTestCase)
|
H A D | test_ossaudiodev.py | 1 from test import support namespace 2 support.requires('audio') 4 from test.support import findfile 6 ossaudiodev = support.import_module('ossaudiodev') 199 support.run_unittest(__name__)
|
H A D | test_py_compile.py | 10 from test import support namespace 66 with support.change_cwd(self.directory): 96 with support.captured_stderr():
|
H A D | test_resource.py | 5 from test import support namespace 8 resource = support.import_module('resource') 27 # number on a platform with large file support. On these platforms, 53 f = open(support.TESTFN, "wb") 79 support.unlink(support.TESTFN) 141 @support.requires_freebsd_version(9) 148 @support.requires_linux_version(2, 6, 36) 163 @support.requires_linux_version(2, 6, 36) 177 support [all...] |
H A D | test_strtod.py | 8 import test.support namespace 251 @test.support.bigmemtest(size=test.support._2G+10, memuse=3, dry_run=False)
|
H A D | test_ucn.py | 13 from test import support namespace 178 testdata = support.open_urlresource(url, encoding="utf-8", 223 @support.cpython_only 225 @support.bigmemtest(size=UINT_MAX + 1, memuse=2 + 1, dry_run=False)
|
H A D | test_unicode_file_functions.py | 8 from test import support namespace 65 os.mkdir(support.TESTFN) 68 self.addCleanup(support.rmtree, support.TESTFN) 72 name = os.path.join(support.TESTFN, self.norm(name)) 147 f1 = os.listdir(support.TESTFN.encode(sys.getfilesystemencoding())) 148 f2 = os.listdir(support.TESTFN) 149 sf2 = set(os.path.join(support.TESTFN, f) for f in f2) 159 dirname = os.path.join(support.TESTFN, 'Gr\xfc\xdf-\u66e8\u66e9\u66eb') 161 with support [all...] |
H A D | test_uu.py | 7 from test import support namespace 163 self.tmpin = support.TESTFN + "i" 164 self.tmpout = support.TESTFN + "o" 173 support.unlink(self.tmpin) 203 support.unlink(self.tmpin) 223 support.unlink(self.tmpin) 254 support.run_unittest(UUTest,
|
H A D | test_wave.py | 3 from test import support namespace 109 support.check__all__(self, wave, blacklist=blacklist)
|
/external/python/cpython3/Lib/test/test_asyncio/ |
H A D | test_windows_utils.py | 17 from test import support namespace 19 from asyncio import test_support as support namespace 34 @unittest.skipUnless(support.IPV6_ENABLED, 'IPv6 not supported or enabled') 122 support.gc_collect()
|
/external/python/cpython3/Lib/test/test_tools/ |
H A D | test_pindent.py | 8 from test import support namespace 9 from test.support.script_helper import assert_python_ok 37 with support.temp_dir() as directory:
|