New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>:
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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3925>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com