[issue19596] Silently skipped tests in test_importlib

Brett Cannon report at bugs.python.org
Fri Nov 15 15:57:18 CET 2013


Brett Cannon added the comment:

These tests can't be removed because the classes are inheriting from an ABC to make sure that those test cases are considered and dealt with, either by explicitly testing them or ignoring them because they don't apply to the finder/loader.

And since they are being ignored because the case has been considered and "tested" by doing nothing I don't want them listed as skipped since they aren't skipped based on some conditional result but instead because they literally can't be tested or don't apply. IOW testing packages with test_package() for the builtin loader wasn't skipped, it was tested by doing nothing since packages are flat-out not supported.

I say close this as rejected. I appreciate the sentiment but in this instance I think the skip label for the test is incorrect.

----------

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


More information about the Python-bugs-list mailing list