mirror of https://github.com/python/cpython
fd8fbce495
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. |
||
---|---|---|
.. | ||
test | ||
__init__.py | ||
__main__.py | ||
case.py | ||
loader.py | ||
main.py | ||
mock.py | ||
result.py | ||
runner.py | ||
signals.py | ||
suite.py | ||
util.py |