[Python-Dev] Testsuite dependency on _testcapi (original) (raw)
Victor Stinner victor.stinner at gmail.com
Fri Mar 9 23:56:51 CET 2012
- Previous message: [Python-Dev] Testsuite dependency on _testcapi
- Next message: [Python-Dev] [Python-checkins] cpython: Close #14205: dict lookup raises a RuntimeError if the dict is modified during
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.importmodule() for testcapi and a 'needstestcapi' 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
- Previous message: [Python-Dev] Testsuite dependency on _testcapi
- Next message: [Python-Dev] [Python-checkins] cpython: Close #14205: dict lookup raises a RuntimeError if the dict is modified during
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]