• Victor Stinner's avatar
    bpo-33746: Fix test_unittest.testRegisterResult() in verbose mode (GH-7799) · fd8fbce4
    Victor Stinner yazdı
    Only make sure that the result is in unittest.signals._results, don't
    check the full content of unittest.signals._results.
    
    support._run_suite() uses TextTestRunner in verbose mode, but
    TextTestRunner.run() calls registerResult(result) which made the test
    fail with "odd object in result set".
    
    Call also removeResult() to restore unittest.signals._results to
    avoid test side effect.
    fd8fbce4
Adı
Son kayıt (commit)
Son güncelleme
..
test Loading commit data...
__init__.py Loading commit data...
__main__.py Loading commit data...
case.py Loading commit data...
loader.py Loading commit data...
main.py Loading commit data...
mock.py Loading commit data...
result.py Loading commit data...
runner.py Loading commit data...
signals.py Loading commit data...
suite.py Loading commit data...
util.py Loading commit data...