[issue37957] Allow regrtest to receive a file with test (and subtests) to ignore

Serhiy Storchaka report at bugs.python.org
Tue Aug 27 02:50:23 EDT 2019


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

Tests that fail on some platforms can be marked to skip in code.

For example:

    @unittest.skipIf(sys.platform.startswith('aix'),
                     'bpo-29972: broken test on AIX')
    def test_strcoll_with_diacritic(self):
        self.assertLess(locale.strcoll('à', 'b'), 0)

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list