/third_party/python/Lib/test/ |
H A D | test_csv.py | 8 from tempfile import TemporaryFile namespace 138 with TemporaryFile("w+", encoding="utf-8", newline='') as fileobj: 146 with TemporaryFile("w+", encoding="utf-8", newline='') as fileobj: 248 with TemporaryFile("w+", encoding="utf-8", newline='') as fileobj: 256 with TemporaryFile("w+", encoding="utf-8", newline='') as fileobj: 262 with TemporaryFile("w+", encoding="utf-8", newline='') as fileobj: 268 with TemporaryFile("w+", encoding="utf-8", newline='') as fileobj: 275 with TemporaryFile("w+", encoding="utf-8", newline='') as fileobj: 286 with TemporaryFile("w+", encoding="utf-8", newline='') as fileobj: 402 with TemporaryFile(" [all...] |
H A D | test_zipfile64.py | 18 from tempfile import TemporaryFile namespace 73 with TemporaryFile() as f: 82 with TemporaryFile() as f:
|
H A D | test_faulthandler.py | 328 with tempfile.TemporaryFile('wb+') as fp: 505 with tempfile.TemporaryFile('wb+') as fp: 676 with tempfile.TemporaryFile('wb+') as fp: 778 with tempfile.TemporaryFile('wb+') as fp:
|
H A D | test_threadedtempfile.py | 2 Create and delete FILES_PER_THREAD temp files (via tempfile.TemporaryFile) 42 f = tempfile.TemporaryFile("w+b")
|
H A D | test_tempfile.py | 142 "TemporaryFile" : 1, 1397 if tempfile.NamedTemporaryFile is not tempfile.TemporaryFile: 1400 """Test TemporaryFile().""" 1403 # TemporaryFile can create files 1405 tempfile.TemporaryFile() 1408 # TemporaryFile creates files with no names (on this system) 1410 f = tempfile.TemporaryFile(dir=dir) 1424 # A TemporaryFile can be closed many times without error 1425 f = tempfile.TemporaryFile() 1435 with tempfile.TemporaryFile(*arg [all...] |
H A D | test_winconsoleio.py | 28 with tempfile.TemporaryFile() as tmpfile:
|
H A D | test_subprocess.py | 202 tf = tempfile.TemporaryFile() 259 tf = tempfile.TemporaryFile() 533 tf = tempfile.TemporaryFile() 546 tf = tempfile.TemporaryFile() 566 tf = tempfile.TemporaryFile() 578 tf = tempfile.TemporaryFile() 597 tf = tempfile.TemporaryFile() 609 tf = tempfile.TemporaryFile() 653 tf = tempfile.TemporaryFile() 1614 tf = tempfile.TemporaryFile() [all...] |
H A D | test_zipfile.py | 21 from tempfile import TemporaryFile namespace 46 with TemporaryFile() as f: 1325 with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp: 1342 with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp: 1358 with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp: 1372 with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp: 1404 with TemporaryFile() as t, \ 1424 with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp: 1444 with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp: 1456 with TemporaryFile() a [all...] |
H A D | test_ntpath.py | 11 from tempfile import TemporaryFile namespace 812 with TemporaryFile() as tf1, TemporaryFile() as tf2:
|
H A D | test_cgi.py | 265 f = TestReadlineFile(tempfile.TemporaryFile("wb+"))
|
H A D | test_concurrent_futures.py | 1238 from tempfile import TemporaryFile namespace 1239 with TemporaryFile(mode="w+") as f:
|
H A D | test_curses.py | 97 tmp = tempfile.TemporaryFile(mode='wb', buffering=0) 585 with tempfile.TemporaryFile() as f:
|
H A D | test_mailbox.py | 152 with tempfile.TemporaryFile('wb+') as f: 160 with tempfile.TemporaryFile('wb+') as f: 168 with tempfile.TemporaryFile('w+', encoding='utf-8') as f:
|
/third_party/python/Lib/test/test_importlib/ |
H A D | threaded_import_hangers.py | 31 # Bug 147376: TemporaryFile hung on Windows, starting in Python 2.4. 32 ("tempfile.TemporaryFile", lambda: tempfile.TemporaryFile().close(), ()),
|
/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/ |
H A D | run-draw-fuzzer-tests.py | 8 with tempfile.TemporaryFile () as tempf:
|
H A D | run-shape-fuzzer-tests.py | 8 with tempfile.TemporaryFile () as tempf:
|
H A D | run-subset-fuzzer-tests.py | 8 with tempfile.TemporaryFile () as tempf:
|
/third_party/python/Lib/ |
H A D | tempfile.py | 27 "NamedTemporaryFile", "TemporaryFile", # high level safe interfaces 244 """Code common to mkstemp, TemporaryFile, and NamedTemporaryFile.""" 598 TemporaryFile = NamedTemporaryFile 606 def TemporaryFile(mode='w+b', buffering=-1, encoding=None, function 716 newfile = self._file = TemporaryFile(**self._TemporaryFileArgs)
|
H A D | cgi.py | 844 return tempfile.TemporaryFile("wb+") 846 return tempfile.TemporaryFile("w+",
|
/third_party/PyYAML/tests/lib/ |
H A D | test_yaml_ext.py | 251 with tempfile.TemporaryFile() as temp_file:
|
/third_party/python/Lib/test/libregrtest/ |
H A D | runtest_mp.py | 274 with tempfile.TemporaryFile('w+', encoding=encoding) as stdout_fh:
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_sendfile.py | 225 with tempfile.TemporaryFile() as f:
|