[issue39253] Running the test suite with --junit-xml and -R incorrectly reports refleaks

STINNER Victor report at bugs.python.org
Wed Jan 8 11:57:58 EST 2020


STINNER Victor <vstinner at python.org> added the comment:

FYI test_io is skipped in Python 2.7 when using -R, because test_io is not reliable. Extract of Lib/test/test_io.py:

    if huntrleaks:
        # FIXME: bpo-31731: test_io hangs with --huntrleaks
        print("Warning: bpo-31731: test_io hangs with --huntrleaks: "
              "exclude the test")
        nottests.add('test_io')

I'm not shocked by disabling JUnit feature when using -R. But I suggest to raise an error and tune the buildbot configuration to not use it, rather than silently ignore the option.

----------

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


More information about the Python-bugs-list mailing list