Home
last modified time | relevance | path

Searched refs:TemporaryFile (Results 1 - 22 of 22) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_csv.py8 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 Dtest_zipfile64.py18 from tempfile import TemporaryFile namespace
73 with TemporaryFile() as f:
82 with TemporaryFile() as f:
H A Dtest_faulthandler.py328 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 Dtest_threadedtempfile.py2 Create and delete FILES_PER_THREAD temp files (via tempfile.TemporaryFile)
42 f = tempfile.TemporaryFile("w+b")
H A Dtest_tempfile.py142 "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 Dtest_winconsoleio.py28 with tempfile.TemporaryFile() as tmpfile:
H A Dtest_subprocess.py202 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 Dtest_zipfile.py21 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 Dtest_ntpath.py11 from tempfile import TemporaryFile namespace
812 with TemporaryFile() as tf1, TemporaryFile() as tf2:
H A Dtest_cgi.py265 f = TestReadlineFile(tempfile.TemporaryFile("wb+"))
H A Dtest_concurrent_futures.py1238 from tempfile import TemporaryFile namespace
1239 with TemporaryFile(mode="w+") as f:
H A Dtest_curses.py97 tmp = tempfile.TemporaryFile(mode='wb', buffering=0)
585 with tempfile.TemporaryFile() as f:
H A Dtest_mailbox.py152 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 Dthreaded_import_hangers.py31 # 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 Drun-draw-fuzzer-tests.py8 with tempfile.TemporaryFile () as tempf:
H A Drun-shape-fuzzer-tests.py8 with tempfile.TemporaryFile () as tempf:
H A Drun-subset-fuzzer-tests.py8 with tempfile.TemporaryFile () as tempf:
/third_party/python/Lib/
H A Dtempfile.py27 "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 Dcgi.py844 return tempfile.TemporaryFile("wb+")
846 return tempfile.TemporaryFile("w+",
/third_party/PyYAML/tests/lib/
H A Dtest_yaml_ext.py251 with tempfile.TemporaryFile() as temp_file:
/third_party/python/Lib/test/libregrtest/
H A Druntest_mp.py274 with tempfile.TemporaryFile('w+', encoding=encoding) as stdout_fh:
/third_party/python/Lib/test/test_asyncio/
H A Dtest_sendfile.py225 with tempfile.TemporaryFile() as f:

Completed in 28 milliseconds