Searched refs:test_support (Results 51 - 75 of 450) sorted by relevance

1234567891011>>

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_imp.py3 from test import test_support namespace
46 # XXX (ncoghlan): It would be nice to use test_support.CleanImport
53 with test_support.EnvironmentVarGuard():
58 with test_support.CleanImport('time'):
63 with test_support.CleanImport('marshal'):
78 test_support.run_unittest(*tests)
H A Dtest_whichdb.py7 import test.test_support namespace
12 _fname = test.test_support.TESTFN
15 anydbm = test.test_support.import_module('anydbm', deprecated=True)
43 mod = test.test_support.import_module(name, deprecated=True)
63 test.test_support.run_unittest(WhichDBTestCase)
H A Dtest_complex_args.py3 from test import test_support namespace
112 with test_support.check_py3k_warnings(
115 test_support.run_unittest(ComplexArgsTestCase)
H A Dtest_doctest2.py17 from test import test_support namespace
114 f, t = test_support.run_doctest(test_doctest2)
116 raise test_support.TestFailed("expected %d tests to run, not %d" %
H A Dtest_multifile.py1 from test import test_support namespace
2 mimetools = test_support.import_module('mimetools', deprecated=True)
3 multifile = test_support.import_module('multifile', deprecated=True)
H A Dtest_mutex.py2 import test.test_support namespace
4 mutex = test.test_support.import_module("mutex", deprecated=True)
32 test.test_support.run_unittest(MutexTest)
H A Dtest_popen.py8 from test import test_support namespace
39 test_support.reap_children()
49 test_support.run_unittest(PopenTest)
H A Dtest_scriptpackages.py4 from test import test_support namespace
7 test_support.import_module('aetools')
47 test_support.run_unittest(TestScriptpackages)
H A Dtest_startfile.py11 from test import test_support namespace
16 startfile = test_support.get_attribute(os, 'startfile')
42 test_support.run_unittest(TestCase)
H A Dtest_transformer.py2 from test import test_support namespace
5 test_support.import_module('compiler', deprecated=True)
35 test_support.run_unittest(Tests)
H A Dtest_xmllib.py18 from test import test_support namespace
21 xmllib = test_support.import_module('xmllib', deprecated=True)
45 test_support.run_unittest(XMLParserTestCase)
H A Dtest_future.py4 from test import test_support namespace
16 test_support.unload('test_future1')
21 test_support.unload('test_future2')
26 test_support.unload('test_future3')
106 test_support.unload("test.test_future5")
116 test_support.run_unittest(FutureTest)
H A Dtest_pdb.py7 from test import test_support namespace
283 test_support.run_doctest(test_pdb, verbosity=True)
H A Dtest_posix.py3 from test import test_support namespace
6 posix = test_support.import_module('posix')
26 fp = open(test_support.TESTFN, 'w+')
30 os.unlink(test_support.TESTFN)
118 fp = open(test_support.TESTFN)
126 fp = open(test_support.TESTFN, 'w+')
137 fp = open(test_support.TESTFN)
152 fp1 = open(test_support.TESTFN)
153 fp2 = open(test_support.TESTFN)
161 fd = os.open(test_support
[all...]
H A Dtest_univnewlines2k.py5 from test import test_support namespace
40 with open(test_support.TESTFN, self.WRITEMODE) as fp:
45 os.unlink(test_support.TESTFN)
50 with open(test_support.TESTFN, self.READMODE) as fp:
56 with open(test_support.TESTFN, self.READMODE) as fp:
62 with open(test_support.TESTFN, self.READMODE) as fp:
72 with open(test_support.TESTFN, self.READMODE) as fp:
83 with test_support.check_py3k_warnings():
84 execfile(test_support.TESTFN, namespace)
109 with open(test_support
[all...]
H A Ddouble_const.py1 from test.test_support import TestFailed
H A Dtest_ctypes.py3 from test.test_support import run_unittest, import_module
H A Dtest_softspace.py1 from test.test_support import run_unittest
H A Dtest_syntax.py489 from test import test_support namespace
565 test_support.run_unittest(SyntaxTestCase)
567 with test_support.check_py3k_warnings(("backquote not supported",
569 test_support.run_doctest(test_syntax, verbosity=True)
H A Dtest_call.py2 from test import test_support namespace
15 with test_support.check_py3k_warnings():
28 with test_support.check_py3k_warnings():
33 with test_support.check_py3k_warnings():
130 test_support.run_unittest(CFunctionCalls)
H A Dtest_resource.py2 from test import test_support namespace
5 resource = test_support.import_module('resource')
50 f = open(test_support.TESTFN, "wb")
76 test_support.unlink(test_support.TESTFN)
107 test_support.run_unittest(ResourceTest)
H A Dtest_codecencodings_kr.py7 from test import test_support namespace
66 test_support.run_unittest(__name__)
H A Dtest_codecmaps_jp.py7 from test import test_support namespace
64 test_support.run_unittest(__name__)
H A Dtest_coding.py2 import test.test_support, unittest namespace
34 test.test_support.run_unittest(CodingTest)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
H A Dtest_core.py8 import test.test_support namespace
9 from test.test_support import captured_stdout, run_unittest
48 path = test.test_support.TESTFN
54 def write_setup(self, text, path=test.test_support.TESTFN):
76 os.mkdir(test.test_support.TESTFN)
77 setup_py = os.path.join(test.test_support.TESTFN, "setup.py")

Completed in 340 milliseconds

1234567891011>>