/external/python/cpython2/Lib/distutils/tests/ |
H A D | test_bdist_rpm.py | 18 from distutils.tests import support namespace 32 class BuildRpmTestCase(support.TempdirManager, 33 support.EnvironGuard, 34 support.LoggingSilencer,
|
H A D | test_build_clib.py | 10 from distutils.tests import support namespace 13 class BuildCLibTestCase(support.TempdirManager, 14 support.LoggingSilencer,
|
H A D | test_config_cmd.py | 8 from distutils.tests import support namespace 11 class ConfigTestCase(support.LoggingSilencer, 12 support.TempdirManager,
|
H A D | test_msvc9compiler.py | 7 from distutils.tests import support namespace 103 class msvc9compilerTestCase(support.TempdirManager,
|
/external/python/cpython2/Lib/test/ |
H A D | test___all__.py | 4 from test import test_support as support namespace 10 bsddb = support.import_module('bsddb', deprecated=True) 26 with support.check_warnings((".* (module|package)", 100 if support.verbose: 114 if support.verbose: 121 support.run_unittest(AllTest)
|
H A D | test_bufio.py | 2 from test import test_support as support namespace 20 support.unlink(support.TESTFN) 24 f = self.open(support.TESTFN, "wb") 31 f = open(support.TESTFN, "rb") 40 support.unlink(support.TESTFN) 76 support.run_unittest(CBufferSizeTest, PyBufferSizeTest, BuiltinBufferSizeTest)
|
H A D | test_linecache.py | 6 from test import test_support as support namespace 14 TEST_PATH = os.path.dirname(support.__file__) 72 self.addCleanup(support.unlink, support.TESTFN) 73 with open(support.TESTFN, "w") as fp: 75 lines = linecache.getlines(support.TESTFN) 97 source_name = support.TESTFN + '.py' 98 self.addCleanup(support.unlink, source_name) 132 with support.swap_attr(linecache, 'updatecache', raise_memoryerror): 137 with support [all...] |
H A D | test_rlcompleter.py | 1 from test import test_support as support namespace 82 support.run_unittest(TestRlcompleter)
|
/external/python/cpython3/Lib/ctypes/test/ |
H A D | test_find.py | 4 import test.support namespace 24 if test.support.verbose: 68 result = find_library('; echo Hello shell > ' + test.support.TESTFN) 69 self.assertFalse(os.path.lexists(test.support.TESTFN)) 103 with test.support.EnvironmentVarGuard() as env:
|
H A D | test_refcounts.py | 2 from test import support namespace 14 @support.refcount_test 39 @support.refcount_test
|
/external/python/cpython3/Lib/distutils/tests/ |
H A D | test_build_clib.py | 6 from test.support import run_unittest, missing_compiler_executable 10 from distutils.tests import support namespace 13 class BuildCLibTestCase(support.TempdirManager, 14 support.LoggingSilencer,
|
H A D | test_build_py.py | 11 from distutils.tests import support namespace 12 from test.support import run_unittest 15 class BuildPyTestCase(support.TempdirManager, 16 support.LoggingSilencer, 38 dist.command_obj["build"] = support.DummyCommand(
|
H A D | test_config.py | 10 from distutils.tests import support namespace 11 from test.support import run_unittest 53 class BasePyPIRCCommandTestCase(support.TempdirManager, 54 support.LoggingSilencer, 55 support.EnvironGuard,
|
H A D | test_config_cmd.py | 5 from test.support import run_unittest, missing_compiler_executable 8 from distutils.tests import support namespace 11 class ConfigTestCase(support.LoggingSilencer, 12 support.TempdirManager,
|
H A D | test_file_util.py | 9 from distutils.tests import support namespace 11 from test.support import run_unittest 13 class FileUtilTestCase(support.TempdirManager, unittest.TestCase): 94 # (some special filesystems don't support hard linking even under
|
H A D | test_install_lib.py | 9 from distutils.tests import support namespace 11 from test.support import run_unittest 14 class InstallLibTestCase(support.TempdirManager, 15 support.LoggingSilencer, 16 support.EnvironGuard,
|
H A D | test_msvc9compiler.py | 7 from distutils.tests import support namespace 8 from test.support import run_unittest 103 class msvc9compilerTestCase(support.TempdirManager,
|
H A D | test_msvccompiler.py | 7 from distutils.tests import support namespace 8 from test.support import run_unittest 15 class msvccompilerTestCase(support.TempdirManager,
|
/external/python/cpython3/Lib/test/ |
H A D | test_code_module.py | 7 from test import support namespace 9 code = support.import_module('code')
|
H A D | test_descrtut.py | 11 from test.support import sortdict 481 from test import support, test_descrtut namespace 482 support.run_doctest(test_descrtut, verbose)
|
H A D | test_filecmp.py | 7 from test import support namespace 12 self.name = support.TESTFN 13 self.name_same = support.TESTFN + '-same' 14 self.name_diff = support.TESTFN + '-diff' 207 with support.captured_stdout() as stdout: 214 support.run_unittest(FileCompareTestCase, DirCompareTestCase)
|
H A D | test_mimetypes.py | 7 from test import support namespace 74 filename = support.findfile("mime.types") 107 support.check__all__(self, mimetypes)
|
H A D | test_print.py | 4 from test import support namespace 57 with support.captured_stdout() as t:
|
/external/python/cpython3/Lib/test/test_importlib/ |
H A D | test_windows.py | 8 from test import support namespace 13 support.import_module('winreg', required_on=['win'])
|
/external/python/cpython3/Lib/test/test_json/ |
H A D | __init__.py | 6 from test import support namespace 9 cjson = support.import_fresh_module('json', fresh=['_json']) 10 pyjson = support.import_fresh_module('json', blocked=['_json']) 56 return support.load_package_tests(pkg_dir, loader, suite, pattern)
|