| Commit message (Expand) | Author | Age | Files | Lines |
* | gh-80958: unittest: discovery support for namespace packages as start directo... | Jacob Walls | 2024-10-23 | 1 | -14/+45 |
|
|
* | gh-124176: Add special support for dataclasses to `create_autospec` (#124429) | sobolevn | 2024-09-27 | 1 | -6/+16 |
|
|
* | gh-124234: Improve docs for `Mock.reset_mock` (#124237) | sobolevn | 2024-09-26 | 1 | -2/+4 |
|
|
* | gh-123934: Fix `MagicMock` not to reset magic method return values (#124038) | sobolevn | 2024-09-19 | 1 | -1/+12 |
|
|
* | Remove unused variable in `MagicMixin._mock_set_magics` (#124092) | sobolevn | 2024-09-14 | 1 | -2/+0 |
|
|
* | gh-122858: Deprecate `asyncio.iscoroutinefunction` (#122875) | Wulian | 2024-08-11 | 1 | -2/+2 |
|
|
* | gh-117765: Improve documentation for `mocker.patch.dict` (#121755) | Dominic H | 2024-07-15 | 1 | -1/+2 |
|
|
* | gh-120732: Fix `name` passing to `Mock`, when using kwargs to `create_autospe... | Nikita Sobolev | 2024-06-19 | 1 | -7/+6 |
|
|
* | gh-120417: Add #noqa to used imports in the stdlib (#120421) | Victor Stinner | 2024-06-13 | 1 | -2/+2 |
|
|
* | gh-120388: Improve deprecation warning message, when test returns non-None (#... | Nikita Sobolev | 2024-06-12 | 2 | -6/+19 |
|
|
* | gh-65454: avoid triggering call to a PropertyMock in NonCallableMock.__setatt... | blhsing | 2024-06-11 | 1 | -0/+3 |
|
|
* | gh-119600: mock: do not access attributes of original when new_callable is se... | Robert Collins | 2024-06-11 | 1 | -5/+9 |
|
|
* | Remove almost all unpaired backticks in docstrings (#119231) | Geoffrey Thomas | 2024-05-22 | 1 | -1/+1 |
|
|
* | gh-90848: Fixed create_autospec ignoring configure_mock style kwargs (#118163) | infohash | 2024-05-02 | 1 | -8/+12 |
|
|
* | gh-59215: unittest: restore _top_level_dir at end of discovery (GH-15242) | Zackery Spytz | 2024-04-03 | 1 | -0/+2 |
|
|
* | GH-70647: Deprecate strptime day of month parsing without a year present to a... | Gregory P. Smith | 2024-04-03 | 1 | -0/+22 |
|
|
* | gh-75988: Fix issues with autospec ignoring wrapped object (#115223) | infohash | 2024-03-08 | 1 | -2/+11 |
|
|
* | gh-113267: Revert "gh-106584: Fix exit code for unittest in Python 3.12 (#106... | Serhiy Storchaka | 2024-02-04 | 2 | -9/+5 |
|
|
* | GH-113661: unittest runner: Don't exit 5 if tests were skipped (#113856) | Stefano Rivera | 2024-01-09 | 2 | -2/+2 |
|
|
* | gh-113569: Display calls in Mock.assert_has_calls failure when empty (GH-113573) | wookie184 | 2024-01-04 | 1 | -4/+4 |
|
|
* | gh-113407: Fix import of unittest.mock when CPython is built without docstrin... | Serhiy Storchaka | 2023-12-24 | 1 | -5/+11 |
|
|
* | gh-110774: allow setting the Runner(loop_factory=...) from IsolatedAsyncioTes... | Thomas Grainger | 2023-10-31 | 1 | -2/+5 |
|
|
* | gh-111019: Align expected and actual titles in test output (#111020) | James | 2023-10-18 | 1 | -3/+3 |
|
|
* | gh-106584: Fix exit code for unittest in Python 3.12 (#106588) | EliseevEgor | 2023-09-22 | 2 | -5/+9 |
|
|
* | gh-84867: Do not load tests from TestCase and FunctionTestCase (GH-100497) | Nikita Sobolev | 2023-09-12 | 1 | -5/+17 |
|
|
* | gh-104090: Fix unittest collectedDurations resources leak (#106795) | Yonatan Bitton | 2023-07-19 | 1 | -1/+2 |
|
|
* | Remove unused branches from mock module (#106617) | Chris Withers | 2023-07-11 | 1 | -6/+1 |
|
|
* | GH-61215: threadingmock: Remove unused branch for `timeout` (#106591) | Mario Corchero | 2023-07-10 | 1 | -3/+1 |
|
|
* | gh-61215: Rename `wait_until_any_call` to `wait_until_any_call_with` (#106414) | Mario Corchero | 2023-07-04 | 1 | -1/+1 |
|
|
* | gh-61215: New mock to wait for multi-threaded events to happen (#16094) | Mario Corchero | 2023-07-03 | 1 | -0/+94 |
|
|
* | bpo-44185: Added close() to mock_open __exit__ (#26902) | Samet YASLAN | 2023-06-11 | 1 | -0/+4 |
|
|
* | gh-94924: support `inspect.iscoroutinefunction` in `create_autospec(async_def... | Thomas Grainger | 2023-06-09 | 1 | -2/+30 |
|
|
* | gh-105407: Remove unused imports in the stdlib (#105411) | Victor Stinner | 2023-06-06 | 1 | -1/+0 |
|
|
* | gh-104992: Remove deprecated unittest.TestProgram.usageExit (#104993) | Hugo van Kemenade | 2023-05-27 | 1 | -10/+0 |
|
|
* | gh-104835: Remove unittest's deprecated getTestCaseNames, makeSuite, findTest... | Hugo van Kemenade | 2023-05-24 | 2 | -49/+0 |
|
|
* | gh-85934: Use getattr_static when adding mock spec (#22209) | melanie witt | 2023-05-23 | 1 | -1/+7 |
|
|
* | gh-68968: Correcting message display issue with assertEqual (#103937) | Michael Blahay | 2023-05-04 | 1 | -8/+23 |
|
|
* | gh-62432: unittest runner: Exit code 5 if no tests were run (#102051) | Stefano Rivera | 2023-04-27 | 2 | -1/+10 |
|
|
* | gh-48330: address review comments to PR-12271 (#103209) | Giampaolo Rodola | 2023-04-16 | 1 | -1/+5 |
|
|
* | gh-102978: Fix mock.patch function signatures for class and staticmethod deco... | Tomas R | 2023-04-13 | 1 | -0/+6 |
|
|
* | bpo-4080: unittest durations (#12271) | Giampaolo Rodola | 2023-04-02 | 4 | -6/+67 |
|
|
* | Remove unused import of `warnings` from `unittest.loader` (#102479) | JosephSBoyle | 2023-03-06 | 1 | -1/+0 |
|
|
* | gh-96127: Fix `inspect.signature` call on mocks (#96335) | Nikita Sobolev | 2023-01-07 | 1 | -1/+9 |
|
|
* | gh-100690: [mock] hide `ATTRIB_DENY_LIST` and make it immutable (#100819) | Nikita Sobolev | 2023-01-07 | 1 | -2/+6 |
|
|
* | gh-100690: Raise an AttributeError when the assert_ prefix is forgotten when ... | Christian Klein | 2023-01-06 | 1 | -4/+10 |
|
|
* | gh-100739: Respect mock spec when checking for unsafe prefixes (#100740) | Christian Klein | 2023-01-04 | 1 | -1/+1 |
|
|
* | gh-100287: Fix unittest.mock.seal with AsyncMock (#100496) | Shantanu | 2022-12-24 | 1 | -4/+4 |
|
|
* | gh-99482: remove `jython` compatibility parts from stdlib and tests (#99484) | Nikita Sobolev | 2022-12-23 | 1 | -7/+5 |
|
|
* | gh-83076: 3.8x speed improvement in (Async)Mock instantiation (#100252) | Carl Meyer | 2022-12-23 | 1 | -16/+22 |
|
|
* | gh-98458: unittest: bugfix for infinite loop while handling chained exception... | AlexTate | 2022-12-04 | 1 | -1/+3 |
|
|