[Python-Dev] Testsuite dependency on _testcapi
Victor Stinner
victor.stinner at gmail.com
Fri Mar 9 23:56:51 CET 2012
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 for such issue.
I'm guilty of adding new "from _testcapi import ..." in some tests
(test_unicode at least). You add a test.support.import_module() in such
test.
Victor
More information about the Python-Dev
mailing list