cpython/Lib/test/test_unittest
infohash 735fc2cbbc
gh-75988: Fix issues with autospec ignoring wrapped object (#115223)
* set default return value of functional types as _mock_return_value

* added test of wrapping child attributes

* added backward compatibility with explicit return

* added docs on the order of precedence

* added test to check default return_value
2024-03-08 19:14:32 +00:00
..
testmock gh-75988: Fix issues with autospec ignoring wrapped object (#115223) 2024-03-08 19:14:32 +00:00
__init__.py
__main__.py
_test_warnings.py
dummy.py
support.py bpo-4080: unittest durations (#12271) 2023-04-03 00:12:51 +02:00
test_assertions.py gh-68968: Correcting message display issue with assertEqual (#103937) 2023-05-04 16:37:17 -06:00
test_async_case.py gh-110774: allow setting the Runner(loop_factory=...) from IsolatedAsyncioTestCase (#110776) 2023-10-31 15:03:54 -07:00
test_break.py bpo-4080: unittest durations (#12271) 2023-04-03 00:12:51 +02:00
test_case.py gh-68968: Correcting message display issue with assertEqual (#103937) 2023-05-04 16:37:17 -06:00
test_discovery.py gh-113267: Revert "gh-106584: Fix exit code for unittest in Python 3.12 (#106588)" (GH-114470) 2024-02-04 17:27:42 +02:00
test_functiontestcase.py
test_loader.py gh-84867: Do not load tests from TestCase and FunctionTestCase (GH-100497) 2023-09-12 16:33:30 +03:00
test_program.py GH-44626, GH-105476: Fix `ntpath.isabs()` handling of part-absolute paths (#113829) 2024-01-13 07:36:05 +00:00
test_result.py gh-105407: Remove unused imports in tests (#105408) 2023-06-06 22:50:43 +02:00
test_runner.py gh-106300: Improve errors testing in test_unittest.test_runner (GH-106737) 2023-08-16 12:20:42 +03:00
test_setups.py
test_skipping.py gh-113267: Revert "gh-106584: Fix exit code for unittest in Python 3.12 (#106588)" (GH-114470) 2024-02-04 17:27:42 +02:00
test_suite.py