Searched defs:support (Results 201 - 225 of 566) sorted by relevance

1234567891011>>

/external/python/cpython2/Lib/distutils/tests/
H A Dtest_bdist_rpm.py18 from distutils.tests import support namespace
32 class BuildRpmTestCase(support.TempdirManager,
33 support.EnvironGuard,
34 support.LoggingSilencer,
H A Dtest_build_clib.py10 from distutils.tests import support namespace
13 class BuildCLibTestCase(support.TempdirManager,
14 support.LoggingSilencer,
H A Dtest_config_cmd.py8 from distutils.tests import support namespace
11 class ConfigTestCase(support.LoggingSilencer,
12 support.TempdirManager,
H A Dtest_msvc9compiler.py7 from distutils.tests import support namespace
103 class msvc9compilerTestCase(support.TempdirManager,
/external/python/cpython2/Lib/test/
H A Dtest___all__.py4 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 Dtest_bufio.py2 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 Dtest_linecache.py6 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 Dtest_rlcompleter.py1 from test import test_support as support namespace
82 support.run_unittest(TestRlcompleter)
/external/python/cpython3/Lib/ctypes/test/
H A Dtest_find.py4 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 Dtest_refcounts.py2 from test import support namespace
14 @support.refcount_test
39 @support.refcount_test
/external/python/cpython3/Lib/distutils/tests/
H A Dtest_build_clib.py6 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 Dtest_build_py.py11 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 Dtest_config.py10 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 Dtest_config_cmd.py5 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 Dtest_file_util.py9 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 Dtest_install_lib.py9 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 Dtest_msvc9compiler.py7 from distutils.tests import support namespace
8 from test.support import run_unittest
103 class msvc9compilerTestCase(support.TempdirManager,
H A Dtest_msvccompiler.py7 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 Dtest_code_module.py7 from test import support namespace
9 code = support.import_module('code')
H A Dtest_descrtut.py11 from test.support import sortdict
481 from test import support, test_descrtut namespace
482 support.run_doctest(test_descrtut, verbose)
H A Dtest_filecmp.py7 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 Dtest_mimetypes.py7 from test import support namespace
74 filename = support.findfile("mime.types")
107 support.check__all__(self, mimetypes)
H A Dtest_print.py4 from test import support namespace
57 with support.captured_stdout() as t:
/external/python/cpython3/Lib/test/test_importlib/
H A Dtest_windows.py8 from test import support namespace
13 support.import_module('winreg', required_on=['win'])
/external/python/cpython3/Lib/test/test_json/
H A D__init__.py6 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)

Completed in 331 milliseconds

1234567891011>>