[New-bugs-announce] [issue3925] test_distutils fails on cygwin
Hirokazu Yamamoto
report at bugs.python.org
Sun Sep 21 22:13:08 CEST 2008
New submission from Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp>:
Currently msvc build ignores shutil.rmtree error, this workaround is
needed for cygwin too.
======================================================================
ERROR: test_build_ext (distutils.tests.test_build_ext.BuildExtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/WhiteRabbit/python-dev/trunk/Lib/distutils/tests/test_build_ext.py
", line 66, in tearDown
shutil.rmtree(self.tmp_dir, False if os.name != "nt" else True)
File "/home/WhiteRabbit/python-dev/trunk/Lib/shutil.py", line 221, in
rmtree
onerror(os.remove, fullname, sys.exc_info())
File "/home/WhiteRabbit/python-dev/trunk/Lib/shutil.py", line 219, in
rmtree
os.remove(fullname)
OSError: [Errno 13] Permission denied:
'/cygdrive/c/DOCUME~1/WHITER~1/LOCALS~1/T
emp/pythontest_YRSZAn/xx.dll'
----------
components: Tests
files: test_distutils.patch
keywords: easy, needs review, patch
messages: 73525
nosy: ocean-city
severity: normal
status: open
title: test_distutils fails on cygwin
versions: Python 2.6, Python 3.0
Added file: http://bugs.python.org/file11544/test_distutils.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3925>
_______________________________________
More information about the New-bugs-announce
mailing list