Searched defs:support (Results 251 - 275 of 566) sorted by relevance

<<11121314151617181920>>

/external/python/cpython3/Lib/ctypes/test/
H A Dtest_win32.py5 from test import support namespace
68 if support.HAVE_DOCSTRINGS:
/external/python/cpython3/Lib/distutils/tests/
H A Dtest_core.py8 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 Dtest_cygwinccompiler.py6 from test.support import run_unittest
13 from distutils.tests import support namespace
28 class CygwinCCompilerTestCase(support.TempdirManager,
H A Dtest_dir_util.py13 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 Drefleak.py7 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 Druntest_mp.py9 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 Dtest__osx_support.py2 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 Dtest_cmd.py12 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 Dtest_dict_version.py5 from test import support namespace
9 _testcapi = support.import_module('_testcapi')
H A Dtest_docxmlrpc.py4 from test import support namespace
5 threading = support.import_module('threading')
171 b'<br>\nThis&nbsp;server&nbsp;does&nbsp;NOT&nbsp;support&nbsp;system'
H A Dtest_format.py1 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 Dtest_frame.py7 from test import support namespace
40 support.gc_collect()
44 support.gc_collect()
98 @support.cpython_only
101 with support.disable_gc():
H A Dtest_getpass.py6 from test import support namespace
154 with support.captured_stderr() as stderr:
H A Dtest_mailcap.py4 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 Dtest_netrc.py2 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 Dtest_ossaudiodev.py1 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 Dtest_py_compile.py10 from test import support namespace
66 with support.change_cwd(self.directory):
96 with support.captured_stderr():
H A Dtest_resource.py5 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 Dtest_strtod.py8 import test.support namespace
251 @test.support.bigmemtest(size=test.support._2G+10, memuse=3, dry_run=False)
H A Dtest_ucn.py13 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 Dtest_unicode_file_functions.py8 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 Dtest_uu.py7 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 Dtest_wave.py3 from test import support namespace
109 support.check__all__(self, wave, blacklist=blacklist)
/external/python/cpython3/Lib/test/test_asyncio/
H A Dtest_windows_utils.py17 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 Dtest_pindent.py8 from test import support namespace
9 from test.support.script_helper import assert_python_ok
37 with support.temp_dir() as directory:

Completed in 401 milliseconds

<<11121314151617181920>>