summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unittest
Commit message (Expand)AuthorAgeFilesLines
* gh-71339: Add additional assertion methods for unittest (GH-128707)Serhiy Storchaka2025-01-1410-48/+337
* gh-128595: Add test class helper to force no terminal colour (#128687)Hugo van Kemenade2025-01-131-4/+7
* gh-128729: Fix RuntimeWarning in test_unittest (GH-128730)Serhiy Storchaka2025-01-121-0/+3
* gh-127949: deprecate `asyncio.set_event_loop` (#128218)Kumar Aditya2024-12-241-1/+1
* gh-127949: deprecate `asyncio.get_event_loop_policy` (#128053)Kumar Aditya2024-12-181-1/+1
* gh-127949: deprecate `asyncio.set_event_loop_policy` (#128024)Kumar Aditya2024-12-182-3/+3
* gh-127221: Add colour to unittest output (#127223)Hugo van Kemenade2024-12-055-1/+39
* gh-104745: Limit starting a patcher more than once without stopping it (#126649)Red4Ru2024-11-131-2/+50
* gh-80958: unittest: discovery support for namespace packages as start directo...Jacob Walls2024-10-237-2/+72
* gh-125522 : add explicit exception types to bare excepts in tests (#125523)Irit Katriel2024-10-151-7/+7
* gh-124176: Add special support for dataclasses to `create_autospec` (#124429)sobolevn2024-09-271-0/+72
* gh-123934: Fix `MagicMock` not to reset magic method return values (#124038)sobolevn2024-09-191-0/+39
* gh-123087: ``Lib/test/test_unittest/testmock/testasync.py``: Replace usage of...Kirill Podoprigora2024-08-171-19/+15
* gh-122858: Deprecate `asyncio.iscoroutinefunction` (#122875)Wulian2024-08-111-1/+1
* gh-121708: Improve test coverage for `unittest.util` (GH-121713)Tomas R2024-07-141-0/+33
* gh-120732: Fix `name` passing to `Mock`, when using kwargs to `create_autospe...Nikita Sobolev2024-06-191-0/+5
* gh-120544: Add `else: fail()` to tests where exception is expected (#120545)Nikita Sobolev2024-06-151-0/+10
* gh-120388: Improve deprecation warning message, when test returns non-None (#...Nikita Sobolev2024-06-122-0/+22
* gh-65454: avoid triggering call to a PropertyMock in NonCallableMock.__setatt...blhsing2024-06-111-0/+8
* gh-119600: mock: do not access attributes of original when new_callable is se...Robert Collins2024-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