Close #18952: correctly download test support data
authorNick Coghlan <ncoghlan@gmail.com>
Sun, 8 Sep 2013 01:40:34 +0000 (11:40 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Sun, 8 Sep 2013 01:40:34 +0000 (11:40 +1000)
commit0494c2ae7f6a347590d66bb4fe7980dc0dc9ccda
tree68a893905963131f681077d768c51800f4518744
parent21101f7038331984eee88fb6f876a3c6e2c3dfbb
Close #18952: correctly download test support data

When test.support was converted to a package, it started silently
skipping the tests which needed to download support data to run.

This change refactors the affected code, and also tidies up
test.support.findfile to remove the unused *here* parameter, document
the *subdir* parameter and rename the *filename* parameter to avoid
shadowing the file builtin and be consistent with the documentation.

The unexpected skips were noticed and reported by Zachary Ware
Doc/library/test.rst
Lib/test/support/__init__.py
Misc/NEWS