New submission from Zachary Ware: 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. ---------- components: Tests files: move_test_data.diff keywords: patch messages: 197132 nosy: ezio.melotti, ncoghlan, zach.ware priority: normal severity: normal status: open title: Fix test.support.open_urlresource (support package regression) type: behavior versions: Python 3.3, Python 3.4 Added file: http://bugs.python.org/file31637/move_test_data.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18952> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com