[issue18952] Fix test.support.open_urlresource (support package regression)

2013-09-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 23770d446c73 by Nick Coghlan in branch '3.3': Close #18952: correctly download test support data http://hg.python.org/cpython/rev/23770d446c73 New changeset cb8dabc113b8 by Nick Coghlan in branch 'default': Merge #18952 fix from 3.3 http://hg.python

[issue18952] Fix test.support.open_urlresource (support package regression)

2013-09-07 Thread Nick Coghlan
Nick Coghlan added the comment: I was going to go with the "move the directory" solution, but realised that would mean existing checkouts end up downloading the data files again, and also with a stale copy of the data cluttering them up. So adjusting the support module for the different relati

[issue18952] Fix test.support.open_urlresource (support package regression)

2013-09-07 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: -> ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue18952] Fix test.support.open_urlresource (support package regression)

2013-09-06 Thread Zachary Ware
Zachary Ware added the comment: Here's an alternative fix, which just makes open_urlresource look one directory higher than where __file__ lives. -- Added file: http://bugs.python.org/file31638/fix_support_open_urlresource.diff ___ Python tracker

[issue18952] Fix test.support.open_urlresource (support package regression)

2013-09-06 Thread Zachary Ware
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.