This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_posixpath doesn't clean up after itself
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.2, Python 3.3, Python 3.4, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: chris.jerdonek, ezio.melotti, python-dev
Priority: normal Keywords:

Created on 2013-02-27 19:58 by chris.jerdonek, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (6)
msg183178 - (view) Author: Chris Jerdonek (chris.jerdonek) * (Python committer) Date: 2013-02-27 19:58
test_posixpath leaves behind a file of the following form when running on Mac OS X:

lrwxr-xr-x @test_17700_tmpa -> @test_17700_tmpa/b

I'm not sure which test it is or which other versions are affected.
msg183266 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-03-01 18:30
On Linux it looks OK.  Does it always happen?  Where is the file located?
msg183269 - (view) Author: Chris Jerdonek (chris.jerdonek) * (Python committer) Date: 2013-03-01 18:37
The file gets created in the current working directory.  You won't see it when using regrtest since regrtest creates and then deletes a temp working directory.

To see it easier, try running instead:

./python.exe -m unittest test.test_posixpath
msg183274 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-03-01 19:01
New changeset ed3ca7298055 by Ezio Melotti in branch '2.7':
#17315: unlink a file that test_posixpath was leaving around.
http://hg.python.org/cpython/rev/ed3ca7298055

New changeset c65e98ce1a05 by Ezio Melotti in branch '3.2':
#17315: unlink a file that test_posixpath was leaving around.
http://hg.python.org/cpython/rev/c65e98ce1a05

New changeset 7a2169a80f48 by Ezio Melotti in branch '3.3':
#17315: merge with 3.2.
http://hg.python.org/cpython/rev/7a2169a80f48

New changeset 7234370fc556 by Ezio Melotti in branch 'default':
#17315: merge with 3.3.
http://hg.python.org/cpython/rev/7234370fc556
msg183275 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-03-01 19:02
Should be fixed now.
msg183280 - (view) Author: Chris Jerdonek (chris.jerdonek) * (Python committer) Date: 2013-03-01 19:17
Thanks, I confirmed the fix.
History
Date User Action Args
2022-04-11 14:57:42adminsetgithub: 61517
2013-03-01 19:17:15chris.jerdoneksetmessages: + msg183280
2013-03-01 19:02:32ezio.melottisetstatus: open -> closed
versions: + Python 2.7, Python 3.2, Python 3.3
messages: + msg183275

assignee: ezio.melotti
resolution: fixed
stage: needs patch -> resolved
2013-03-01 19:01:10python-devsetnosy: + python-dev
messages: + msg183274
2013-03-01 18:37:16chris.jerdoneksetmessages: + msg183269
2013-03-01 18:30:50ezio.melottisetnosy: + ezio.melotti
messages: + msg183266
2013-02-27 19:58:41chris.jerdonekcreate