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 zach.ware
Recipients ezio.melotti, ncoghlan, zach.ware
Date 2013-09-07.04:22:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378527733.08.0.636104620502.issue18952@psf.upfronthosting.co.za>
In-reply-to
Content
Since test.support was moved into its own package, support.open_urlresource has been unable to work.  It expects <__file__ dir>/data to exist, but since <__file__ dir> is now Lib/test/support instead of Lib/test, it doesn't unless someone creates it manually.  Since open_urlresource turns all exceptions into SkipTest, this means that all test runs have been silently skipping test_codecmaps_* and a couple others since support became a package.

Here's a patch with my preferred fix, which is to move Lib/test/data to Lib/test/support/data.  This dir is only used by support.open_urlresource, and moving it does just a tiny bit to de-clutter Lib/test.
History
Date User Action Args
2013-09-07 04:22:13zach.waresetrecipients: + zach.ware, ncoghlan, ezio.melotti
2013-09-07 04:22:13zach.waresetmessageid: <1378527733.08.0.636104620502.issue18952@psf.upfronthosting.co.za>
2013-09-07 04:22:12zach.warelinkissue18952 messages
2013-09-07 04:22:12zach.warecreate