[New-bugs-announce] [issue2409] regrtest should not just skip imports that fail

Neal Norwitz 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.
"""

----------
components: Tests
messages: 63992
nosy: nnorwitz
priority: high
severity: normal
status: open
title: regrtest should not just skip imports that fail
versions: Python 2.6

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2409>
__________________________________


More information about the New-bugs-announce mailing list