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: py3k unit tests are removing %TEMP% dir on Windows
Type: behavior Stage:
Components: Versions: Python 3.0, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, loewis
Priority: critical Keywords:

Created on 2007-11-20 00:13 by christian.heimes, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg57672 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2007-11-20 00:13
The unit test suite of py3k is removing the official %TEMP% directory of
Windows. It's not only causing errors in the test suite but also
creating havoc with other apps.

I'm not sure if it is related to my PCbuild9 or some changes to the unit
test suite. Since the update to VS 2008 I can't build the PCbuild any
more due to some .NET problems with Nant.
msg57679 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2007-11-20 01:14
I may have nailed down the issue to test_shutil.test_copytree_simple
msg57682 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2007-11-20 01:49
My bad, os.removedirs is removing all parent directories until it hits a
non empty dir.

Fixed in r59063 and r59064
msg57688 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-11-20 03:07
It seems that this patch has broken a lot of buildbots, e.g.

http://www.python.org/dev/buildbot/all/x86%20gentoo%20trunk/builds/2625/step-test/0
msg57689 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2007-11-20 03:21
Thanks, I've changed the code slightly.
History
Date User Action Args
2022-04-11 14:56:28adminsetgithub: 45811
2008-01-06 22:29:45adminsetkeywords: - py3k
versions: Python 2.6, Python 3.0
2007-11-20 03:21:40christian.heimessetmessages: + msg57689
2007-11-20 03:07:25loewissetnosy: + loewis
messages: + msg57688
2007-11-20 01:49:17christian.heimessetstatus: open -> closed
resolution: fixed
messages: + msg57682
versions: + Python 2.6
2007-11-20 01:14:26christian.heimessetmessages: + msg57679
2007-11-20 00:13:13christian.heimescreate