Searched refs:test_support (Results 176 - 200 of 1854) sorted by relevance

1234567891011>>

/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_posixpath.py2 from test import test_support, test_genericpath namespace
10 ABSTFN = abspath(test_support.TESTFN)
35 test_support.unlink(test_support.TESTFN + suffix)
36 safe_rmdir(test_support.TESTFN + suffix)
94 self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False)
95 f = open(test_support.TESTFN + "1", "wb")
99 self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False)
101 os.symlink(test_support.TESTFN + "1", test_support
[all...]
H A Dtest_dbm.py1 from test import test_support namespace
3 dbm = test_support.import_module('dbm')
8 self.filename = test_support.TESTFN
14 test_support.unlink(self.filename + suffix)
39 test_support.run_unittest(DbmTestCase)
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)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_posixpath.py2 from test import test_support, test_genericpath namespace
10 ABSTFN = abspath(test_support.TESTFN)
35 test_support.unlink(test_support.TESTFN + suffix)
36 safe_rmdir(test_support.TESTFN + suffix)
94 self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False)
95 f = open(test_support.TESTFN + "1", "wb")
99 self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False)
101 os.symlink(test_support.TESTFN + "1", test_support
[all...]
H A Dtest_dbm.py1 from test import test_support namespace
3 dbm = test_support.import_module('dbm')
8 self.filename = test_support.TESTFN
14 test_support.unlink(self.filename + suffix)
39 test_support.run_unittest(DbmTestCase)
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)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_posixpath.py2 from test import test_support, test_genericpath namespace
10 ABSTFN = abspath(test_support.TESTFN)
35 test_support.unlink(test_support.TESTFN + suffix)
36 safe_rmdir(test_support.TESTFN + suffix)
94 self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False)
95 f = open(test_support.TESTFN + "1", "wb")
99 self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False)
101 os.symlink(test_support.TESTFN + "1", test_support
[all...]
H A Dtest_dbm.py1 from test import test_support namespace
3 dbm = test_support.import_module('dbm')
8 self.filename = test_support.TESTFN
14 test_support.unlink(self.filename + suffix)
39 test_support.run_unittest(DbmTestCase)
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)
/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_dbm.py1 from test import test_support namespace
3 dbm = test_support.import_module('dbm')
8 self.filename = test_support.TESTFN
14 test_support.unlink(self.filename + suffix)
39 test_support.run_unittest(DbmTestCase)
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_buffer.py8 from test import test_support namespace
34 with test_support.check_py3k_warnings(("buffer.. not supported",
36 test_support.run_unittest(BufferTests)
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)

Completed in 9149 milliseconds

1234567891011>>