[issue36674] "unittest.TestCase.debug" should honour "skip" (and other test controls)

Serhiy Storchaka report at bugs.python.org
Sat Sep 18 08:26:05 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

PR 28446 makes TestCase.debug() honoring the skipping decorator.

The difference with PR 13180:

1. It does not run setUp() and tearDown() for tests decorated with the skipping decorator, as TestCase.run().
2. It has the same behavior for tests decorated with the skipping decorator and tests using skipTest() or raising a SkipTest -- raises a SkipTest.
3. Tests actually test the skipping decorator.

----------
type: enhancement -> behavior
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.8

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


More information about the Python-bugs-list mailing list