/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_macostools.py | 13 TESTFN2 = test_support.TESTFN + '2'
27 test_support.unlink(TESTFN2)
33 fp = open(TESTFN2, 'r')
41 rfp = MacOS.openrf(TESTFN2, '*rb')
56 test_support.unlink(TESTFN2)
57 macostools.copy(test_support.TESTFN, TESTFN2)
62 test_support.unlink(TESTFN2)
63 macostools.mkalias(test_support.TESTFN, TESTFN2)
64 fss, _, _ = Carbon.File.ResolveAliasFile(TESTFN2, 0)
68 test_support.unlink(TESTFN2)
[all...] |
test_applesingle.py | 22 TESTFN2 = test_support.TESTFN + '2'
37 os.unlink(TESTFN2)
43 fp = MacOS.openrf(TESTFN2, '*rb')
45 fp = open(TESTFN2, 'rb')
51 os.unlink(TESTFN2)
54 applesingle.decode(test_support.TESTFN, TESTFN2)
60 os.unlink(TESTFN2)
63 applesingle.decode(test_support.TESTFN, TESTFN2, resonly=True)
|
test_zipfile.py | 23 TESTFN2 = TESTFN + "2"
109 for f in (TESTFN2, TemporaryFile(), StringIO()):
137 for f in (TESTFN2, TemporaryFile(), StringIO()):
142 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp:
146 with zipfile.ZipFile(TESTFN2, "r") as zipfp:
174 for f in (TESTFN2, TemporaryFile(), StringIO()):
242 for f in (TESTFN2, TemporaryFile(), StringIO()):
246 for f in (TESTFN2, TemporaryFile(), StringIO()):
250 for f in (TESTFN2, TemporaryFile(), StringIO()):
254 for f in (TESTFN2, TemporaryFile(), StringIO()): [all...] |
test_zipfile64.py | 28 TESTFN2 = TESTFN + "2"
80 # Try the temp file first. If we do TESTFN2 first, then it hogs
82 for f in TemporaryFile(), TESTFN2:
87 # Try the temp file first. If we do TESTFN2 first, then it hogs
89 for f in TemporaryFile(), TESTFN2:
93 for fname in TESTFN, TESTFN2:
118 test_support.unlink(TESTFN2)
|
test_pipes.py | 10 TESTFN2 = TESTFN + "2"
17 for f in (TESTFN, TESTFN2):
34 t.copy(TESTFN, TESTFN2)
35 with open(TESTFN2) as f:
51 with open(TESTFN2, 'w') as f:
54 t.copy(TESTFN, TESTFN2)
55 with open(TESTFN2) as f:
|
/external/python/cpython2/Lib/test/ |
test_macostools.py | 13 TESTFN2 = test_support.TESTFN + '2' 29 test_support.unlink(TESTFN2) 35 fp = open(TESTFN2, 'r') 43 rfp = MacOS.openrf(TESTFN2, '*rb') 58 test_support.unlink(TESTFN2) 59 macostools.copy(test_support.TESTFN, TESTFN2) 64 test_support.unlink(TESTFN2) 65 macostools.mkalias(test_support.TESTFN, TESTFN2) 66 fss, _, _ = Carbon.File.ResolveAliasFile(TESTFN2, 0) 77 test_support.unlink(TESTFN2) [all...] |
test_applesingle.py | 22 TESTFN2 = test_support.TESTFN + '2' 37 os.unlink(TESTFN2) 43 fp = MacOS.openrf(TESTFN2, '*rb') 45 fp = open(TESTFN2, 'rb') 51 os.unlink(TESTFN2) 54 applesingle.decode(test_support.TESTFN, TESTFN2) 60 os.unlink(TESTFN2) 63 applesingle.decode(test_support.TESTFN, TESTFN2, resonly=True)
|
test_zipfile.py | 31 TESTFN2 = TESTFN + "2" 119 for f in (TESTFN2, TemporaryFile(), StringIO()): 147 for f in (TESTFN2, TemporaryFile(), StringIO()): 152 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp: 158 with zipfile.ZipFile(TESTFN2, "r") as zipfp: 186 for f in (TESTFN2, TemporaryFile(), StringIO()): 254 for f in (TESTFN2, TemporaryFile(), StringIO()): 258 for f in (TESTFN2, TemporaryFile(), StringIO()): 262 for f in (TESTFN2, TemporaryFile(), StringIO()): 266 for f in (TESTFN2, TemporaryFile(), StringIO()) [all...] |
test_pipes.py | 10 TESTFN2 = TESTFN + "2" 17 for f in (TESTFN, TESTFN2): 34 t.copy(TESTFN, TESTFN2) 35 with open(TESTFN2) as f: 51 with open(TESTFN2, 'w') as f: 54 t.copy(TESTFN, TESTFN2) 55 with open(TESTFN2) as f:
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_macostools.py | 13 TESTFN2 = test_support.TESTFN + '2' 27 test_support.unlink(TESTFN2) 33 fp = open(TESTFN2, 'r') 41 rfp = MacOS.openrf(TESTFN2, '*rb') 56 test_support.unlink(TESTFN2) 57 macostools.copy(test_support.TESTFN, TESTFN2) 62 test_support.unlink(TESTFN2) 63 macostools.mkalias(test_support.TESTFN, TESTFN2) 64 fss, _, _ = Carbon.File.ResolveAliasFile(TESTFN2, 0) 68 test_support.unlink(TESTFN2) [all...] |
test_applesingle.py | 22 TESTFN2 = test_support.TESTFN + '2' 37 os.unlink(TESTFN2) 43 fp = MacOS.openrf(TESTFN2, '*rb') 45 fp = open(TESTFN2, 'rb') 51 os.unlink(TESTFN2) 54 applesingle.decode(test_support.TESTFN, TESTFN2) 60 os.unlink(TESTFN2) 63 applesingle.decode(test_support.TESTFN, TESTFN2, resonly=True)
|
test_zipfile.py | 30 TESTFN2 = TESTFN + "2" 116 for f in (TESTFN2, TemporaryFile(), StringIO()): 144 for f in (TESTFN2, TemporaryFile(), StringIO()): 149 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp: 153 with zipfile.ZipFile(TESTFN2, "r") as zipfp: 181 for f in (TESTFN2, TemporaryFile(), StringIO()): 249 for f in (TESTFN2, TemporaryFile(), StringIO()): 253 for f in (TESTFN2, TemporaryFile(), StringIO()): 257 for f in (TESTFN2, TemporaryFile(), StringIO()): 261 for f in (TESTFN2, TemporaryFile(), StringIO()) [all...] |
test_zipfile64.py | 28 TESTFN2 = TESTFN + "2" 80 # Try the temp file first. If we do TESTFN2 first, then it hogs 82 for f in TemporaryFile(), TESTFN2: 87 # Try the temp file first. If we do TESTFN2 first, then it hogs 89 for f in TemporaryFile(), TESTFN2: 93 for fname in TESTFN, TESTFN2: 118 test_support.unlink(TESTFN2)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_macostools.py | 13 TESTFN2 = test_support.TESTFN + '2' 27 test_support.unlink(TESTFN2) 33 fp = open(TESTFN2, 'r') 41 rfp = MacOS.openrf(TESTFN2, '*rb') 56 test_support.unlink(TESTFN2) 57 macostools.copy(test_support.TESTFN, TESTFN2) 62 test_support.unlink(TESTFN2) 63 macostools.mkalias(test_support.TESTFN, TESTFN2) 64 fss, _, _ = Carbon.File.ResolveAliasFile(TESTFN2, 0) 68 test_support.unlink(TESTFN2) [all...] |
test_applesingle.py | 22 TESTFN2 = test_support.TESTFN + '2' 37 os.unlink(TESTFN2) 43 fp = MacOS.openrf(TESTFN2, '*rb') 45 fp = open(TESTFN2, 'rb') 51 os.unlink(TESTFN2) 54 applesingle.decode(test_support.TESTFN, TESTFN2) 60 os.unlink(TESTFN2) 63 applesingle.decode(test_support.TESTFN, TESTFN2, resonly=True)
|
test_zipfile.py | 30 TESTFN2 = TESTFN + "2" 116 for f in (TESTFN2, TemporaryFile(), StringIO()): 144 for f in (TESTFN2, TemporaryFile(), StringIO()): 149 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp: 153 with zipfile.ZipFile(TESTFN2, "r") as zipfp: 181 for f in (TESTFN2, TemporaryFile(), StringIO()): 249 for f in (TESTFN2, TemporaryFile(), StringIO()): 253 for f in (TESTFN2, TemporaryFile(), StringIO()): 257 for f in (TESTFN2, TemporaryFile(), StringIO()): 261 for f in (TESTFN2, TemporaryFile(), StringIO()) [all...] |
test_zipfile64.py | 28 TESTFN2 = TESTFN + "2" 80 # Try the temp file first. If we do TESTFN2 first, then it hogs 82 for f in TemporaryFile(), TESTFN2: 87 # Try the temp file first. If we do TESTFN2 first, then it hogs 89 for f in TemporaryFile(), TESTFN2: 93 for fname in TESTFN, TESTFN2: 118 test_support.unlink(TESTFN2)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_macostools.py | 13 TESTFN2 = test_support.TESTFN + '2' 27 test_support.unlink(TESTFN2) 33 fp = open(TESTFN2, 'r') 41 rfp = MacOS.openrf(TESTFN2, '*rb') 56 test_support.unlink(TESTFN2) 57 macostools.copy(test_support.TESTFN, TESTFN2) 62 test_support.unlink(TESTFN2) 63 macostools.mkalias(test_support.TESTFN, TESTFN2) 64 fss, _, _ = Carbon.File.ResolveAliasFile(TESTFN2, 0) 68 test_support.unlink(TESTFN2) [all...] |
test_applesingle.py | 22 TESTFN2 = test_support.TESTFN + '2' 37 os.unlink(TESTFN2) 43 fp = MacOS.openrf(TESTFN2, '*rb') 45 fp = open(TESTFN2, 'rb') 51 os.unlink(TESTFN2) 54 applesingle.decode(test_support.TESTFN, TESTFN2) 60 os.unlink(TESTFN2) 63 applesingle.decode(test_support.TESTFN, TESTFN2, resonly=True)
|
test_zipfile.py | 30 TESTFN2 = TESTFN + "2" 116 for f in (TESTFN2, TemporaryFile(), StringIO()): 144 for f in (TESTFN2, TemporaryFile(), StringIO()): 149 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp: 153 with zipfile.ZipFile(TESTFN2, "r") as zipfp: 181 for f in (TESTFN2, TemporaryFile(), StringIO()): 249 for f in (TESTFN2, TemporaryFile(), StringIO()): 253 for f in (TESTFN2, TemporaryFile(), StringIO()): 257 for f in (TESTFN2, TemporaryFile(), StringIO()): 261 for f in (TESTFN2, TemporaryFile(), StringIO()) [all...] |
test_zipfile64.py | 28 TESTFN2 = TESTFN + "2" 80 # Try the temp file first. If we do TESTFN2 first, then it hogs 82 for f in TemporaryFile(), TESTFN2: 87 # Try the temp file first. If we do TESTFN2 first, then it hogs 89 for f in TemporaryFile(), TESTFN2: 93 for fname in TESTFN, TESTFN2: 118 test_support.unlink(TESTFN2)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_macostools.py | 13 TESTFN2 = test_support.TESTFN + '2' 27 test_support.unlink(TESTFN2) 33 fp = open(TESTFN2, 'r') 41 rfp = MacOS.openrf(TESTFN2, '*rb') 56 test_support.unlink(TESTFN2) 57 macostools.copy(test_support.TESTFN, TESTFN2) 62 test_support.unlink(TESTFN2) 63 macostools.mkalias(test_support.TESTFN, TESTFN2) 64 fss, _, _ = Carbon.File.ResolveAliasFile(TESTFN2, 0) 68 test_support.unlink(TESTFN2) [all...] |
test_applesingle.py | 22 TESTFN2 = test_support.TESTFN + '2' 37 os.unlink(TESTFN2) 43 fp = MacOS.openrf(TESTFN2, '*rb') 45 fp = open(TESTFN2, 'rb') 51 os.unlink(TESTFN2) 54 applesingle.decode(test_support.TESTFN, TESTFN2) 60 os.unlink(TESTFN2) 63 applesingle.decode(test_support.TESTFN, TESTFN2, resonly=True)
|
test_zipfile.py | 30 TESTFN2 = TESTFN + "2" 116 for f in (TESTFN2, TemporaryFile(), StringIO()): 144 for f in (TESTFN2, TemporaryFile(), StringIO()): 149 with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp: 153 with zipfile.ZipFile(TESTFN2, "r") as zipfp: 181 for f in (TESTFN2, TemporaryFile(), StringIO()): 249 for f in (TESTFN2, TemporaryFile(), StringIO()): 253 for f in (TESTFN2, TemporaryFile(), StringIO()): 257 for f in (TESTFN2, TemporaryFile(), StringIO()): 261 for f in (TESTFN2, TemporaryFile(), StringIO()) [all...] |
test_zipfile64.py | 28 TESTFN2 = TESTFN + "2" 80 # Try the temp file first. If we do TESTFN2 first, then it hogs 82 for f in TemporaryFile(), TESTFN2: 87 # Try the temp file first. If we do TESTFN2 first, then it hogs 89 for f in TemporaryFile(), TESTFN2: 93 for fname in TESTFN, TESTFN2: 118 test_support.unlink(TESTFN2)
|