Searched refs:test_support (Results 251 - 275 of 450) sorted by relevance

<<1112131415161718

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_symtable.py7 from test import test_support namespace
46 with test_support.check_warnings(
181 test_support.run_unittest(SymtableTest)
H A Dtest_sys.py2 import unittest, test.test_support namespace
10 test.test_support.reap_children()
82 with test.test_support.check_py3k_warnings():
203 if test.test_support.have_unicode:
229 test.test_support.get_attribute(sys, "getwindowsversion")
304 @test.test_support.reap_threads
392 if test.test_support.have_unicode:
497 self.file = open(test.test_support.TESTFN, 'wb')
501 test.test_support.unlink(test.test_support
[all...]
H A Dtest_winreg.py6 from test import test_support namespace
7 threading = test_support.import_module("threading")
11 test_support.import_module('_winreg')
45 if test_support.have_unicode:
409 test_support.run_unittest(LocalWinregTests, RemoteWinregTests,
H A Dtest_bool.py4 from test import test_support namespace
23 fo = open(test_support.TESTFN, "wb")
26 fo = open(test_support.TESTFN, "rb")
30 os.remove(test_support.TESTFN)
183 with test_support.check_py3k_warnings():
202 with test_support.check_py3k_warnings():
226 if test_support.have_unicode:
265 f = file(test_support.TESTFN, "w")
270 os.remove(test_support.TESTFN)
282 with test_support
[all...]
H A Dtest_warnings.py8 from test import test_support namespace
15 py_warnings = test_support.import_fresh_module('warnings', blocked=['_warnings'])
16 c_warnings = test_support.import_fresh_module('warnings', fresh=['_warnings'])
355 # test_support.import_fresh_module utility function
364 # test_support.import_fresh_module utility function
495 with test_support.captured_output('stderr') as stream:
516 with test_support.captured_output('stderr') as stream:
657 # Explicit tests for the test_support convenience wrapper
661 with test_support.check_warnings(quiet=False) as w:
673 with test_support
[all...]
H A Dtest_codecs.py1 from test import test_support namespace
472 self.addCleanup(test_support.unlink, test_support.TESTFN)
473 with open(test_support.TESTFN, 'wb') as fp:
475 with codecs.open(test_support.TESTFN, 'U', encoding=self.encoding) as reader:
1035 raise test_support.TestFailed("Test 3.%d: %s" % (pos+1, str(e)))
1533 self.addCleanup(test_support.unlink, test_support.TESTFN)
1536 with codecs.open(test_support.TESTFN, 'w+', encoding=encoding) as f:
1545 with codecs.open(test_support
[all...]
H A Dtest_array.py7 from test import test_support namespace
166 test_support.unlink(test_support.TESTFN)
167 f = open(test_support.TESTFN, 'wb')
172 f = open(test_support.TESTFN, 'rb')
189 test_support.unlink(test_support.TESTFN)
195 f = open(test_support.TESTFN, 'wb')
200 test_support.unlink(test_support
[all...]
H A Dtest_complex.py2 from test import test_support namespace
304 if test_support.have_unicode:
328 if test_support.have_unicode:
339 if test_support.have_unicode:
482 fo = open(test_support.TESTFN, "wb")
485 fo = open(test_support.TESTFN, "rb")
490 test_support.unlink(test_support.TESTFN)
646 with test_support.check_warnings(("complex divmod.., // and % are "
648 test_support
[all...]
H A Dtest_cfgparser.py7 from test import test_support namespace
296 file1 = test_support.findfile("cfgparser.1")
429 with open(test_support.TESTFN, 'w') as f:
433 os.unlink(test_support.TESTFN)
439 with open(test_support.TESTFN) as f:
586 test_support.run_unittest(
H A Dtest_heapq.py6 from test import test_support namespace
9 py_heapq = test_support.import_fresh_module('heapq', blocked=['_heapq'])
10 c_heapq = test_support.import_fresh_module('heapq', fresh=['_heapq'])
355 with test_support.check_py3k_warnings(
380 test_support.run_unittest(*test_classes)
387 test_support.run_unittest(*test_classes)
H A Dtest_httpservers.py25 from test import test_support namespace
26 threading = test_support.import_module('threading')
72 self._threads = test_support.threading_setup()
73 os.environ = test_support.EnvironmentVarGuard()
82 test_support.threading_cleanup(*self._threads)
519 test_support.run_unittest(BaseHTTPRequestHandlerTestCase,
H A Dtest_telnetlib.py7 from test import test_support namespace
8 threading = test_support.import_module('threading')
10 HOST = test_support.HOST
51 self.port = test_support.bind_port(self.sock)
104 self.port = test_support.bind_port(self.sock)
369 test_support.run_unittest(GeneralTests, ReadTests, OptionTests)
H A Dtest_urllib2_localnet.py8 from test import test_support namespace
9 mimetools = test_support.import_module('mimetools', deprecated=True)
10 threading = test_support.import_module('threading')
225 self._threads = test_support.threading_setup()
228 test_support.threading_cleanup(*self._threads)
534 #test_support.requires("network")
536 test_support.run_unittest(ProxyAuthTests, TestUrlopen)
H A Dtest_abc.py7 from test import test_support namespace
225 test_support.gc_collect()
229 test_support.run_unittest(TestABC)
H A Dtest_ast.py2 from test import test_support namespace
313 with test_support.check_py3k_warnings(("backquote not supported",
315 test_support.run_unittest(AST_Tests, ASTHelpers_Test)
H A Dtest_binascii.py3 from test import test_support namespace
167 if test_support.have_unicode:
230 test_support.run_unittest(BinASCIITest,
H A Dtest_decorators.py2 from test import test_support namespace
305 test_support.run_unittest(TestDecorators)
306 test_support.run_unittest(TestClassDecorators)
H A Dtest_isinstance.py6 from test import test_support namespace
250 if test_support.have_unicode:
274 test_support.run_unittest(
H A Dtest_multibytecodec.py7 from test import test_support namespace
8 from test.test_support import TESTFN
271 test_support.run_unittest(__name__)
H A Dtest_queue.py6 from test import test_support namespace
7 threading = test_support.import_module('threading')
317 test_support.run_unittest(QueueTest, LifoQueueTest, PriorityQueueTest,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
H A Dtest_bdist_dumb.py14 from test.test_support import run_unittest
H A Dtest_bdist_rpm.py9 from test.test_support import run_unittest
H A Dtest_build_py.py13 from test.test_support import run_unittest
H A Dtest_build_scripts.py11 from test.test_support import run_unittest
H A Dtest_config.py14 from test.test_support import run_unittest

Completed in 965 milliseconds

<<1112131415161718