summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unittest
Commit message (Expand)AuthorAgeFilesLines
* [3.13] gh-120732: Fix `name` passing to `Mock`, when using kwargs to `create_...Miss Islington (bot)2024-06-191-0/+5
* [3.13] gh-120544: Add `else: fail()` to tests where exception is expected (GH...Miss Islington (bot)2024-06-151-0/+10
* [3.13] gh-65454: avoid triggering call to a PropertyMock in NonCallableMock._...Miss Islington (bot)2024-06-111-0/+8
* [3.13] gh-119600: mock: do not access attributes of original when new_callabl...Miss Islington (bot)2024-06-112-0/+18
* gh-90848: Fixed create_autospec ignoring configure_mock style kwargs (#118163)infohash2024-05-021-0/+13
* gh-117860: Add tests for resolving names when import rebind names (GH-118176)Serhiy Storchaka2024-04-301-0/+67
* gh-59215: unittest: restore _top_level_dir at end of discovery (GH-15242)Zackery Spytz2024-04-031-1/+25
* GH-70647: Deprecate strptime day of month parsing without a year present to a...Gregory P. Smith2024-04-031-0/+10
* gh-75988: Fix issues with autospec ignoring wrapped object (#115223)infohash2024-03-081-0/+67
* gh-115274: Fix direct invocation of `testmock/testpatch.py` (#115275)Nikita Sobolev2024-02-111-1/+1
* gh-113267: Revert "gh-106584: Fix exit code for unittest in Python 3.12 (#106...Serhiy Storchaka2024-02-042-7/+7
* GH-44626, GH-105476: Fix `ntpath.isabs()` handling of part-absolute paths (#1...Barney Gale2024-01-131-2/+2
* GH-113661: unittest runner: Don't exit 5 if tests were skipped (#113856)Stefano Rivera2024-01-091-0/+12
* gh-113569: Display calls in Mock.assert_has_calls failure when empty (GH-113573)wookie1842024-01-041-14/+22
* gh-110774: allow setting the Runner(loop_factory=...) from IsolatedAsyncioTes...Thomas Grainger2023-10-311-0/+14
* gh-111019: Align expected and actual titles in test output (#111020)James2023-10-181-7/+7
* gh-109653: Remove unused imports in the `Lib/` directory (#109803)Alex Waygood2023-09-241-1/+1
* gh-106584: Fix exit code for unittest in Python 3.12 (#106588)EliseevEgor2023-09-222-7/+7
* gh-84867: Do not load tests from TestCase and FunctionTestCase (GH-100497)Nikita Sobolev2023-09-121-0/+29
* gh-108927: Fix test_import + test_importlib + test_unittest problem (#108929)Nikita Sobolev2023-09-051-2/+3
* Update Lib/test/test_unittest/testmock/testmock.py: fix typo RuntimError to R...Sangyun_LEE2023-09-031-1/+1
* gh-106300: Improve errors testing in test_unittest.test_runner (GH-106737)Nikita Sobolev2023-08-161-52/+65
* gh-61215: threadingmock: Improve test suite to avoid race conditions (#106822)Mario Corchero2023-07-171-137/+58
* Remove unused branches from mock module (#106617)Chris Withers2023-07-111-2/+2
* gh-106300: Improve `assertRaises(Exception)` usages in tests (GH-106302)Nikita Sobolev2023-07-071-2/+3
* gh-106458: Mark `testthreadingmock.py` with `@requires_working_threading` (GH...Mario Corchero2023-07-061-9/+11
* gh-61215: Rename `wait_until_any_call` to `wait_until_any_call_with` (#106414)Mario Corchero2023-07-041-25/+25
* gh-61215: New mock to wait for multi-threaded events to happen (#16094)Mario Corchero2023-07-031-0/+278
* bpo-44185: Added close() to mock_open __exit__ (#26902)Samet YASLAN2023-06-111-3/+3
* gh-94924: support `inspect.iscoroutinefunction` in `create_autospec(async_def...Thomas Grainger2023-06-091-0/+23
* gh-105407: Remove unused imports in tests (#105408)Victor Stinner2023-06-061-1/+0
* gh-83403: Test `parent` param in `Mock.__init__` (#103630)Nikita Sobolev2023-05-301-0/+8
* gh-104835: Remove unittest's deprecated getTestCaseNames, makeSuite, findTest...Hugo van Kemenade2023-05-241-33/+0
* gh-85934: Use getattr_static when adding mock spec (#22209)melanie witt2023-05-231-0/+31
* gh-68968: Correcting message display issue with assertEqual (#103937)Michael Blahay2023-05-042-3/+63
* gh-62432: unittest runner: Exit code 5 if no tests were run (#102051)Stefano Rivera2023-04-273-20/+48
* gh-48330: address review comments to PR-12271 (#103209)Giampaolo Rodola2023-04-161-6/+6
* gh-102978: Fix mock.patch function signatures for class and staticmethod deco...Tomas R2023-04-132-0/+48
* gh-103329: Add regression test for PropertyMock with side effect (#103358)Russell Keith-Magee2023-04-081-1/+22
* gh-48330: assert warning is emitted on unittest.TestResult with no addDuratio...Irit Katriel2023-04-061-1/+2
* bpo-4080: unittest durations (#12271)Giampaolo Rodola2023-04-025-22/+95
* gh-102515: Remove unused imports in the `Lib/` directory (#102516)Alex Waygood2023-03-081-1/+0
* fix up mock tests coverage (#100874)Chris Withers2023-01-091-8/+4
* gh-100690: Raise an AttributeError when the assert_ prefix is forgotten when ...Christian Klein2023-01-061-0/+24
* gh-100739: Respect mock spec when checking for unsafe prefixes (#100740)Christian Klein2023-01-041-0/+16
* Fix mock code coverage. (#100580)Chris Withers2022-12-281-6/+3
* Remove skipped test in test for async mocks. (#100559)Chris Withers2022-12-281-4/+0
* gh-100287: Fix unittest.mock.seal with AsyncMock (#100496)Shantanu2022-12-241-1/+13
* gh-83076: 3.8x speed improvement in (Async)Mock instantiation (#100252)Carl Meyer2022-12-231-0/+13
* gh-98458: unittest: bugfix for infinite loop while handling chained exception...AlexTate2022-12-041-0/+56