Re: [Python-Dev] Testsuite dependency on _testcapi

2012-03-09 Thread Victor Stinner
On 09/03/2012 20:44, Thomas Wouters wrote: (...) 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.import_module() for _testcapi and a 'needs_testcapi' skipping decorator? test.support.import_module() looks fine fo

Re: [Python-Dev] Testsuite dependency on _testcapi

2012-03-09 Thread Benjamin Peterson
2012/3/9 Thomas Wouters : > > 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

Re: [Python-Dev] Testsuite dependency on _testcapi

2012-03-09 Thread Brett Cannon
On Fri, Mar 9, 2012 at 14:44, Thomas Wouters wrote: > > 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

[Python-Dev] Testsuite dependency on _testcapi

2012-03-09 Thread Thomas Wouters
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 s