[issue34596] [unittest] raise error if @skip is used with an argument that looks like a test method

Michael Foord report at bugs.python.org
Mon Sep 9 08:38:02 EDT 2019


Michael Foord <michael at voidspace.org.uk> added the comment:

I'm in favour of a default and "Unconditionally skipped" is fine with me. Although "Skipped" would also be fine.

Making @skip work with no arguments is fine. Having to pass in arguments message arguments you don't want is a pain and there's no need to force the user.

Let's add a default message and make the skipped tests report as skipped properly on 3.8 and close it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34596>
_______________________________________


More information about the Python-bugs-list mailing list