[issue2409] regrtest should not just skip imports that fail
report at bugs.python.org
Tue Mar 18 22:22:28 CET 2008
New submission from Neal Norwitz <nnorwitz at gmail.com>:
Guido mentioned this in python-3000-checkins. I agree the problem
should be fixed.
I think the automatic skip on ImportError is harmful.
We should add a helper function to test_support so that you can write
foobar = test_support.import_optional('foobar')
and it will skip the test if foobar cannot be imported; all other
failing imports should cause the test to *fail*.
This should be an easy two-part task.
title: regrtest should not just skip imports that fail
versions: Python 2.6
Tracker <report at bugs.python.org>
More information about the Python-bugs-list