mirror of
https://github.com/python/cpython.git
synced 2025-10-28 01:00:34 +00:00
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. |
||
|---|---|---|
| .. | ||
| testmock | ||
| __init__.py | ||
| __main__.py | ||
| _test_warnings.py | ||
| dummy.py | ||
| support.py | ||
| test_assertions.py | ||
| test_break.py | ||
| test_case.py | ||
| test_discovery.py | ||
| test_functiontestcase.py | ||
| test_loader.py | ||
| test_program.py | ||
| test_result.py | ||
| test_runner.py | ||
| test_setups.py | ||
| test_skipping.py | ||
| test_suite.py | ||