cpython/Lib/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
..
__init__.py gh-104835: Remove unittest's deprecated getTestCaseNames, makeSuite, findTestCases (#104836) 2023-05-24 21:16:43 +00:00
__main__.py
_log.py
async_case.py gh-110774: allow setting the Runner(loop_factory=...) from IsolatedAsyncioTestCase (#110776) 2023-10-31 15:03:54 -07:00
case.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
loader.py gh-84867: Do not load tests from TestCase and FunctionTestCase (GH-100497) 2023-09-12 16:33:30 +03:00
main.py GH-113661: unittest runner: Don't exit 5 if tests were skipped (#113856) 2024-01-09 19:50:01 +00:00
mock.py gh-75988: Fix issues with autospec ignoring wrapped object (#115223) 2024-03-08 19:14:32 +00:00
result.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
runner.py GH-113661: unittest runner: Don't exit 5 if tests were skipped (#113856) 2024-01-09 19:50:01 +00:00
signals.py
suite.py
util.py