mirror of https://github.com/python/cpython
Browse Source
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.pull/7860/head
committed by
GitHub
2 changed files with 7 additions and 9 deletions
Loading…
Reference in new issue