[issue10966] eliminate use of ImportError implicitly representing SkipTest
Senthil Kumaran
report at bugs.python.org
Thu Mar 31 05:48:22 CEST 2011
Senthil Kumaran <orsenthil at gmail.com> added the comment:
+1 to the counter argument that "Unexpected Skips should not be marked as failures".
Also, I like the following proposal of giving better messages on skips
useful.
On Sat, Mar 26, 2011 at 07:53:34AM +0000, Ezio Melotti wrote:
> It's also possible to provide better skip messages, e.g.:
> -test_winreg skipped -- No module named 'winreg'
> -test_tk skipped -- No module named '_tkinter'
> -test_urllibnet skipped -- Use of the `network' resource not enabled
> +test_winreg skipped -- No module named 'winreg' (winreg is available on windows only)
> +test_tk skipped -- No module named '_tkinter' (tcl/tk not installed)
> +test_urllibnet skipped -- Use of the `network' resource not enabled (run the tests with -unetwork or -uall to enable it)
----------
nosy: +orsenthil
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10966>
_______________________________________
More information about the Python-bugs-list
mailing list