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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com