/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_posixpath.py | 2 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.TESTFN + "2" [all...] |
test_dbm.py | 1 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)
|
test_mutex.py | 2 import test.test_support namespace 4 mutex = test.test_support.import_module("mutex", deprecated=True) 32 test.test_support.run_unittest(MutexTest)
|
test_transformer.py | 2 from test import test_support namespace 5 test_support.import_module('compiler', deprecated=True) 35 test_support.run_unittest(Tests)
|
test_imp.py | 3 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)
|
test_select.py | 1 from test import test_support namespace 35 if test_support.verbose: 42 if test_support.verbose: 45 if test_support.verbose: 63 test_support.run_unittest(SelectTestCase) 64 test_support.reap_children()
|
test_codecencodings_hk.py | 7 from test import test_support namespace 24 test_support.run_unittest(__name__)
|
test_codecencodings_tw.py | 7 from test import test_support namespace 24 test_support.run_unittest(__name__)
|
test_codecmaps_tw.py | 7 from test import test_support namespace 28 test_support.run_unittest(__name__)
|
test_marshal.py | 4 from test import test_support namespace 19 marshal.dump(expected, file(test_support.TESTFN, "wb")) 20 got = marshal.load(file(test_support.TESTFN, "rb")) 23 os.unlink(test_support.TESTFN) 54 marshal.dump(b, file(test_support.TESTFN, "wb")) 55 new = marshal.load(file(test_support.TESTFN, "rb")) 70 marshal.dump(f, file(test_support.TESTFN, "wb")) 71 got = marshal.load(file(test_support.TESTFN, "rb")) 97 marshal.dump(f, file(test_support.TESTFN, "wb")) 98 got = marshal.load(file(test_support.TESTFN, "rb") [all...] |
test_univnewlines2k.py | 5 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.TESTFN, self.READMODE) as fp [all...] |
test_bigaddrspace.py | 1 from test import test_support namespace 2 from test.test_support import bigaddrspacetest, MAX_Py_ssize_t 41 test_support.run_unittest(StrTest) 45 test_support.set_memlimit(sys.argv[1])
|
test_binhex.py | 10 from test import test_support namespace 16 self.fname1 = test_support.TESTFN + "1" 17 self.fname2 = test_support.TESTFN + "2" 45 test_support.run_unittest(BinHexTestCase)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_posixpath.py | 2 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.TESTFN + "2" [all...] |
test_dbm.py | 1 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)
|
test_mutex.py | 2 import test.test_support namespace 4 mutex = test.test_support.import_module("mutex", deprecated=True) 32 test.test_support.run_unittest(MutexTest)
|
test_transformer.py | 2 from test import test_support namespace 5 test_support.import_module('compiler', deprecated=True) 35 test_support.run_unittest(Tests)
|
test_imp.py | 3 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)
|
test_select.py | 1 from test import test_support namespace 35 if test_support.verbose: 42 if test_support.verbose: 45 if test_support.verbose: 63 test_support.run_unittest(SelectTestCase) 64 test_support.reap_children()
|
test_codecencodings_hk.py | 7 from test import test_support namespace 24 test_support.run_unittest(__name__)
|
test_codecencodings_tw.py | 7 from test import test_support namespace 24 test_support.run_unittest(__name__)
|
test_codecmaps_tw.py | 7 from test import test_support namespace 28 test_support.run_unittest(__name__)
|
test_marshal.py | 4 from test import test_support namespace 19 marshal.dump(expected, file(test_support.TESTFN, "wb")) 20 got = marshal.load(file(test_support.TESTFN, "rb")) 23 os.unlink(test_support.TESTFN) 54 marshal.dump(b, file(test_support.TESTFN, "wb")) 55 new = marshal.load(file(test_support.TESTFN, "rb")) 70 marshal.dump(f, file(test_support.TESTFN, "wb")) 71 got = marshal.load(file(test_support.TESTFN, "rb")) 97 marshal.dump(f, file(test_support.TESTFN, "wb")) 98 got = marshal.load(file(test_support.TESTFN, "rb") [all...] |
test_univnewlines2k.py | 5 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.TESTFN, self.READMODE) as fp [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/test/test_tkinter/ |
test_loadtk.py | 4 from test import test_support namespace 7 test_support.requires('gui') 27 with test_support.EnvironmentVarGuard() as env: 45 test_support.run_unittest(*tests_gui)
|