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

Serhiy Storchaka report at bugs.python.org
Sat Sep 18 08:31:22 EDT 2021


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

Since the behavior of debug() was different for the following cases:

    @skip('skipping')
    def test1(self):
        pass
    @othedecorator
    @skip('skipping')
    def test2(self):
        pass
    def test3(self):
        self.skipTest('skipping')

I consider it as a bug and will backport the fix.

----------

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


More information about the Python-bugs-list mailing list