[Python-Dev] Testsuite dependency on _testcapi (original) (raw)
Benjamin Peterson benjamin at python.org
Fri Mar 9 23:56:40 CET 2012
- Previous message: [Python-Dev] Testsuite dependency on _testcapi
- Next message: [Python-Dev] Testsuite dependency on _testcapi
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2012/3/9 Thomas Wouters <thomas at python.org>:
While testing Python 2.7 internally (at Google) I noticed that (now that ImportErrors aren't automatically test skips) lots of tests fail if you don't have the testcapi module. These tests are (as far as I've seen) properly marked as cpython-only, but when some wacko decides the testcapi module shouldn't, for example, be shipped to a million machines[*] that are never going to use it, it would be nice to still run the tests that can be run without testcapi. Any objections to fixing the tests to use test.support.importmodule() for testcapi and a 'needstestcapi' skipping decorator?
Sounds fine to me. Post a patch.
-- Regards, Benjamin
- Previous message: [Python-Dev] Testsuite dependency on _testcapi
- Next message: [Python-Dev] Testsuite dependency on _testcapi
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]