/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_symtable.py | 7 from test import test_support
namespace 46 with test_support.check_warnings(
181 test_support.run_unittest(SymtableTest)
|
H A D | test_sys.py | 2 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 D | test_winreg.py | 6 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 D | test_bool.py | 4 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 D | test_warnings.py | 8 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 D | test_codecs.py | 1 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 D | test_array.py | 7 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 D | test_complex.py | 2 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 D | test_cfgparser.py | 7 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 D | test_heapq.py | 6 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 D | test_httpservers.py | 25 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 D | test_telnetlib.py | 7 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 D | test_urllib2_localnet.py | 8 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 D | test_abc.py | 7 from test import test_support
namespace 225 test_support.gc_collect()
229 test_support.run_unittest(TestABC)
|
H A D | test_ast.py | 2 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 D | test_binascii.py | 3 from test import test_support
namespace 167 if test_support.have_unicode:
230 test_support.run_unittest(BinASCIITest,
|
H A D | test_decorators.py | 2 from test import test_support
namespace 305 test_support.run_unittest(TestDecorators)
306 test_support.run_unittest(TestClassDecorators)
|
H A D | test_isinstance.py | 6 from test import test_support
namespace 250 if test_support.have_unicode:
274 test_support.run_unittest(
|
H A D | test_multibytecodec.py | 7 from test import test_support
namespace 8 from test.test_support import TESTFN
271 test_support.run_unittest(__name__)
|
H A D | test_queue.py | 6 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 D | test_bdist_dumb.py | 14 from test.test_support import run_unittest
|
H A D | test_bdist_rpm.py | 9 from test.test_support import run_unittest
|
H A D | test_build_py.py | 13 from test.test_support import run_unittest
|
H A D | test_build_scripts.py | 11 from test.test_support import run_unittest
|
H A D | test_config.py | 14 from test.test_support import run_unittest
|