[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

higery report at bugs.python.org
Mon Sep 5 17:04:19 CEST 2011


higery <shoulderhigher at gmail.com> added the comment:

I have run the 'test_install_lib' on cpython3.3(windows version), the
'test_install_error' failed.

The detail is:

*FAIL: test_install_error (__main__.InstallLibTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\add-develop-command\Lib\distutils\tests\test_install_lib.py",
line 112, in test_install_error
    cmd.run()
AssertionError: DistutilsFileError not raised*

The corresponding lines are:
*
with self.assertRaises(DistutilsFileError) as cm:
        cmd.run()*

----------
Added file: http://bugs.python.org/file23101/unnamed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7219>
_______________________________________
-------------- next part --------------
I have run the &#39;test_install_lib&#39; on cpython3.3(windows version), the &#39;test_install_error&#39; failed.<br><br>The detail is: <br><br><b>FAIL: test_install_error (__main__.InstallLibTestCase)<br>----------------------------------------------------------------------<br>
Traceback (most recent call last):<br>�� File &quot;D:\add-develop-command\Lib\distutils\tests\test_install_lib.py&quot;, line 112, in test_install_error<br>������ cmd.run()<br>AssertionError: DistutilsFileError not raised</b><br>
<br>The corresponding lines are:<br><b><br>with self.assertRaises(DistutilsFileError) as cm:<br>�������������� cmd.run()</b><br>


More information about the Python-bugs-list mailing list