diff options
| author | Karen Tracey <kmtracey@gmail.com> | 2009-04-05 21:45:07 +0000 |
|---|---|---|
| committer | Karen Tracey <kmtracey@gmail.com> | 2009-04-05 21:45:07 +0000 |
| commit | bb558539ad7e3b439997d53b8521e50f7e4624e3 (patch) | |
| tree | ab6f84b4b22751dba7edf240d83b46b0450f0723 /docs | |
| parent | 520c670b9d589f16af6c9b4bf44883fb9a000bf7 (diff) | |
[1.0.X] Made a set of small test changes to avoid leaving temp files hanging around after running the test suite. First, fixed a couple of places where temp dirs were (or could be) created without later being deleted. Second, added a missing close() before unlink() since Windows raises an error on an attempt to remove an open file. Finally, in the file_uploads tests, avoided opening-by-name temporary files that we already have a descriptor for. Doing additional opens seems to run afoul of the Windows issue with deleting open files, so it generally works better to just seek back to 0 instead of calling open multiple times.
Backport/merge of r10406. Also updated svnmerge metadata.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
