summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tempfile.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-081-8/+4
|\
| * Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-081-8/+4
| |
* | Issue14255 Don't flatten case of tempdirTim Golden2013-10-251-0/+14
| |
* | Issue #18945: Add tests for tempfile name collision handling.Eli Bendersky2013-09-131-22/+65
|\ \ | |/ | | | | Patch by Vlad Shcherbina
| * Issue #18945: Add tests for tempfile name collision handling.Eli Bendersky2013-09-131-22/+65
| | | | | | | | Patch by Vlad Shcherbina
* | Issue #18849: Fixed a Windows-specific tempfile bug where collision with anEli Bendersky2013-09-061-0/+26
|\ \ | |/ | | | | | | existing directory caused mkstemp and related APIs to fail instead of retrying. Report and fix by Vlad Shcherbina.
| * Issue #18849: Fixed a Windows-specific tempfile bug where collision with anEli Bendersky2013-09-061-0/+26
| | | | | | | | | | existing directory caused mkstemp and related APIs to fail instead of retrying. Report and fix by Vlad Shcherbina.
* | Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-271-0/+1
| | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
* | Close #12015: The tempfile module now uses a suffix of 8 random charactersVictor Stinner2013-08-131-2/+2
| | | | | | | | | | | | instead of 6, to reduce the risk of filename collision. The entropy was reduced when uppercase letters were removed from the charset used to generate random characters.
* | Issue #16800: tempfile.gettempdir() no longer left temporary files whenSerhiy Storchaka2013-02-121-1/+39
|\ \ | |/ | | | | the disk is full. Original patch by Amir Szekely.
| * Issue #16800: tempfile.gettempdir() no longer left temporary files whenSerhiy Storchaka2013-02-121-1/+39
| |\ | | | | | | | | | the disk is full. Original patch by Amir Szekely.
| | * Issue #16800: tempfile.gettempdir() no longer left temporary files whenSerhiy Storchaka2013-02-121-2/+44
| | | | | | | | | | | | the disk is full. Original patch by Amir Szekely.
* | | Fix a test for SpooledTemporaryFile (added in issue #10355).Serhiy Storchaka2013-02-101-1/+1
|\ \ \ | |/ /
| * | Fix a test for SpooledTemporaryFile (added in issue #10355).Serhiy Storchaka2013-02-101-1/+1
| |\ \ | | |/
| | * Fix a test for SpooledTemporaryFile (added in issue #10355).Serhiy Storchaka2013-02-101-1/+1
| | |
* | | Issue #17169: Restore errno in tempfile exceptions.Serhiy Storchaka2013-02-091-1/+3
|\ \ \ | |/ /
| * | Issue #17169: Restore errno in tempfile exceptions.Serhiy Storchaka2013-02-091-1/+3
| | |
* | | Issue #10355: SpooledTemporaryFile properties now work for unrolled files.Serhiy Storchaka2013-02-091-0/+39
|\ \ \ | |/ / | | | | | | Remove obsoleted xreadline method.
| * | Issue #10355: SpooledTemporaryFile properties now work for unrolled files.Serhiy Storchaka2013-02-091-0/+39
| |\ \ | | |/ | | | | | | Remove obsoleted xreadline method.
| | * Issue #10355: SpooledTemporaryFile properties now work for unrolled files.Serhiy Storchaka2013-02-091-0/+39
| | | | | | | | | | | | Remove obsoleted xreadline method.
* | | Issue #16706: get rid of os.errorAndrew Svetlov2012-12-181-2/+2
| | |
* | | Get rig of EnvironmentError (#16705)Andrew Svetlov2012-12-171-1/+1
| | |
* | | #16135: Removal of OS/2 support (Python code partial cleanup)Jesus Cea2012-10-051-3/+3
|/ /
* | PEP8-ize test namesAntoine Pitrou2012-03-101-82/+54
| |
* | Remove useless failOnException() methodAntoine Pitrou2012-03-101-86/+32
| |
* | Issue #12856: Ensure child processes do not inherit the parent's random seed ↵Antoine Pitrou2011-11-251-0/+32
|\ \ | |/ | | | | | | | | for filename generation in the tempfile module. Patch by Brian Harring.
| * Issue #12856: Ensure child processes do not inherit the parent's random seed ↵Antoine Pitrou2011-11-251-0/+32
| | | | | | | | | | | | for filename generation in the tempfile module. Patch by Brian Harring.
* | Issue #9957: SpooledTemporaryFile.truncate() now accepts an optional size ↵Antoine Pitrou2011-11-251-0/+21
| | | | | | | | | | | | parameter, as other file-like objects. Patch by Ryan Kelly.
* | Issue #12326: don't test the major version of sys.platformVictor Stinner2011-08-171-1/+1
|/ | | | | Use startswith, instead of ==, when testing sys.platform to support new platforms like Linux 3 or OpenBSD 5.
* Issue #12464: tempfile.TemporaryDirectory.cleanup() should not follow symlinks:Charles-François Natali2011-07-291-0/+21
| | | | fix it. Patch by Petri Lehtinen.
* Merge #11488 patch from 3.1.R David Murray2011-03-141-0/+17
|\
| * #11488: Add tests for writelines method of SpooledTemporaryFile.R David Murray2011-03-141-0/+17
| | | | | | | | Patch by Evan Dandrea.
| * Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-2/+2
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
| * Merged revisions 76593 via svnmerge fromAmaury Forgeot d'Arc2009-11-301-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r76593 | amaury.forgeotdarc | 2009-11-30 01:08:56 +0100 (lun., 30 nov. 2009) | 5 lines #6077: on Windows, fix truncation of a tempfile.TemporaryFile opened in "wt+" mode: files opened with os.open() stop on the first \x1a (Ctrl-Z) unless os.O_BINARY is used. Will backport to 3.1 ........
| * Merged revisions 73715 via svnmerge fromGeorg Brandl2009-08-131-56/+56
| | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r73715 | benjamin.peterson | 2009-07-01 01:06:06 +0200 (Mi, 01 Jul 2009) | 1 line convert old fail* assertions to assert* ........
* | Captured IO streams with embedded backslashes are always such a fun ↵Nick Coghlan2010-12-131-2/+8
| | | | | | | | combination...
* | Actually finish the tests for r87182Nick Coghlan2010-12-131-3/+5
| |
* | Issue #10188 (partial resolution): tidy up some behaviour in the new ↵Nick Coghlan2010-12-121-6/+43
| | | | | | | | tempfile.TemporaryDirectory context manager
* | #9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti2010-11-201-2/+2
| |
* | Issue 5178: Add tempfile.TemporaryDirectory (original patch by Neil Schemenauer)Nick Coghlan2010-10-241-1/+103
| |
* | Remove traces of MacOS9 support.Ronald Oussoren2010-05-051-5/+3
| | | | | | | | Fix for issue #7908
* | Clean up warnings filter use in test_tempfile.Brett Cannon2010-03-201-3/+13
| |
* | Merged revisions 78093 via svnmerge fromGeorg Brandl2010-03-141-1/+0
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78093 | georg.brandl | 2010-02-07 18:03:15 +0100 (So, 07 Feb 2010) | 1 line Remove unused imports in test modules. ........
* | Merged revisions ↵Georg Brandl2010-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 78018,78035-78040,78042-78043,78046,78048-78052,78054,78059,78075-78080 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78018 | georg.brandl | 2010-02-06 11:08:21 +0100 (Sa, 06 Feb 2010) | 1 line #7864: make deprecation notices a bit clearer. ........ r78035 | georg.brandl | 2010-02-06 23:44:17 +0100 (Sa, 06 Feb 2010) | 1 line Fix duplicate import. ........ r78036 | georg.brandl | 2010-02-06 23:49:47 +0100 (Sa, 06 Feb 2010) | 1 line Remove unused import. ........ r78037 | georg.brandl | 2010-02-06 23:59:15 +0100 (Sa, 06 Feb 2010) | 1 line No need to assign the results of expressions used only for side effects. ........ r78038 | georg.brandl | 2010-02-07 00:02:29 +0100 (So, 07 Feb 2010) | 1 line Add a missing import. ........ r78039 | georg.brandl | 2010-02-07 00:06:24 +0100 (So, 07 Feb 2010) | 1 line Add missing imports. ........ r78040 | georg.brandl | 2010-02-07 00:08:00 +0100 (So, 07 Feb 2010) | 1 line Fix a few UnboundLocalErrors in test_long. ........ r78042 | georg.brandl | 2010-02-07 00:12:12 +0100 (So, 07 Feb 2010) | 1 line Add missing import. ........ r78043 | georg.brandl | 2010-02-07 00:12:19 +0100 (So, 07 Feb 2010) | 1 line Remove duplicate test method. ........ r78046 | georg.brandl | 2010-02-07 00:18:00 +0100 (So, 07 Feb 2010) | 1 line Fix various missing import/unbound name errors. ........ r78048 | georg.brandl | 2010-02-07 00:23:45 +0100 (So, 07 Feb 2010) | 1 line We heard you like test failures so we put unbound locals in your test so that you can fail while you fail. ........ r78049 | georg.brandl | 2010-02-07 00:33:33 +0100 (So, 07 Feb 2010) | 1 line Fix import/access for some identifiers. _TestSharedCTypes does not seem to be executed? ........ r78050 | georg.brandl | 2010-02-07 00:34:10 +0100 (So, 07 Feb 2010) | 1 line Fix more unbound locals in code paths that do not seem to be used. ........ r78051 | georg.brandl | 2010-02-07 00:53:52 +0100 (So, 07 Feb 2010) | 1 line Add missing import when running these tests standalone. ........ r78052 | georg.brandl | 2010-02-07 00:54:04 +0100 (So, 07 Feb 2010) | 1 line Add missing import when running these tests standalone. ........ r78054 | georg.brandl | 2010-02-07 00:58:25 +0100 (So, 07 Feb 2010) | 1 line Add missing import. ........ r78059 | georg.brandl | 2010-02-07 12:34:15 +0100 (So, 07 Feb 2010) | 1 line Use "regexp" consistently. ........ r78075 | georg.brandl | 2010-02-07 13:16:12 +0100 (So, 07 Feb 2010) | 1 line Fix another duplicated test method. ........ r78076 | georg.brandl | 2010-02-07 13:19:43 +0100 (So, 07 Feb 2010) | 1 line Fix wrong usage of "except X, Y:". ........ r78077 | georg.brandl | 2010-02-07 13:25:50 +0100 (So, 07 Feb 2010) | 1 line Fix two redefined test methods. ........ r78078 | georg.brandl | 2010-02-07 13:27:06 +0100 (So, 07 Feb 2010) | 1 line Fix a redefined test method. ........ r78079 | georg.brandl | 2010-02-07 13:34:26 +0100 (So, 07 Feb 2010) | 1 line Add a minimal test for fnmatchcase(). ........ r78080 | georg.brandl | 2010-02-07 13:55:12 +0100 (So, 07 Feb 2010) | 1 line Remove duplicate test method. ........
* | Merged revisions 77727 via svnmerge fromEzio Melotti2010-01-241-4/+3
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line use assert[Not]IsInstance where appropriate ........
* | use assert[Not]In where appropriateEzio Melotti2010-01-231-1/+1
| |
* | use assert[Not]In where appropriateBenjamin Peterson2010-01-191-2/+2
| | | | | | | | A patch from Dave Malcolm.
* | #6077: on Windows, fix truncation of a tempfile.TemporaryFile opened in ↵Amaury Forgeot d'Arc2009-11-301-2/+10
| | | | | | | | | | | | | | | | "wt+" mode: files opened with os.open() stop on the first \x1a (Ctrl-Z) unless os.O_BINARY is used. Will backport to 3.1
* | convert old fail* assertions to assert*Benjamin Peterson2009-06-301-56/+56
|/
* Merged revisions 72167 via svnmerge fromWalter Dörwald2009-05-011-1/+1
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72167 | walter.doerwald | 2009-05-01 19:35:37 +0200 (Fr, 01 Mai 2009) | 5 lines Make test.test_support.EnvironmentVarGuard behave like a dictionary. All changes are mirrored to the underlying os.environ dict, but rolled back on exit from the with block. ........