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.

Author mu_mind
Recipients alexis, eric.araujo, mu_mind, python-dev, tarek
Date 2011-10-28.04:56:31
SpamBayes Score 7.1548936e-07
Marked as misclassified No
Message-id <1319777792.8.0.729640636988.issue13170@psf.upfronthosting.co.za>
In-reply-to
Content
The remaining test (test_command_install_data.InstallDataTestCase.test_simple_run) was broken in r1152. What's happening is that the type of exception being raised was changed and it's getting through the try/except block in install_data.run().

Instead of calling shutil.copyfile, the code in 1152 is calling distutils2._backport.shutil.copyfile, which instead of raising a shutil.Error instance raises a distutils2._backport.shutil.Error instance.

Ideally, I think distutils2/_backport/shutil.py should do "from shutil import Error" instead of defining its own Error class, but I'm not sure if that's kosher for the way backports are supposed to work, and importing shutil from the stdlib is broken in that file besides.
History
Date User Action Args
2011-10-28 04:56:33mu_mindsetrecipients: + mu_mind, tarek, eric.araujo, alexis, python-dev
2011-10-28 04:56:32mu_mindsetmessageid: <1319777792.8.0.729640636988.issue13170@psf.upfronthosting.co.za>
2011-10-28 04:56:32mu_mindlinkissue13170 messages
2011-10-28 04:56:31mu_mindcreate