[issue11910] test_heapq C tests are not skipped when _heapq is missing

Ezio Melotti report at bugs.python.org
Sun May 8 20:46:51 CEST 2011


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

BTW, if the fix for import_fresh_module is OK, it should be committed separately.
The tests I added to check that the C functions are really C functions could stay in test_heapq or they could be moved to test_test_support (see #11049), possibly together with tests for other modules like json/_json.  These tests are making sure that import_fresh_module works correctly but on the other hand they are also a precondition for a meaningful run of the following heapq tests.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11910>
_______________________________________


More information about the Python-bugs-list mailing list