summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test
Commit message (Expand)AuthorAgeFilesLines
* gh-100739: Respect mock spec when checking for unsafe prefixes (GH-100740)Miss Islington (bot)2023-01-041-0/+16
* [3.10] gh-100287: Fix unittest.mock.seal with AsyncMock (GH-100496) (#100508)Shantanu2022-12-241-1/+13
* gh-98458: unittest: bugfix for infinite loop while handling chained exception...Miss Islington (bot)2022-12-041-0/+56
* [3.10] gh-99645: Fix a bug in handling class cleanups in unittest.TestCase (G...Serhiy Storchaka2022-11-221-0/+27
* [3.10] Add more details in test_unittest (GH-99626). (GH-99692)Serhiy Storchaka2022-11-222-35/+63
* [3.10] gh-98086: Now ``patch.dict`` can decorate async functions (GH-98095) (...Miss Islington (bot)2022-11-201-0/+17
* gh-96021: Explicitly tear down the IsolatedAsyncioTestCase loop in tests (GH-...Miss Islington (bot)2022-08-281-2/+7
* bpo-24959: fix unittest.assertRaises bug where traceback entries are dropped ...Miss Islington (bot)2022-03-081-0/+55
* bpo-41403: Improve error message for invalid mock target (GH-30833) (GH-30834)Irit Katriel2022-01-231-2/+7
* [3.10] bpo-46425: Fix direct invocation of multiple test modules (GH-30666) (...Nikita Sobolev2022-01-201-1/+1
* bpo-46111: Fix unittest tests in optimized mode (GH-30163)Miss Islington (bot)2021-12-173-3/+6
* [3.10] bpo-13236: Flush the output stream more often in unittest (GH-29864) (...Serhiy Storchaka2021-12-102-4/+33
* ensure deprecation warning from assertDictContainsSubset points at actual tes...Anthony Sottile2021-11-161-0/+4
* [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804)Christian Clauss2021-10-071-1/+1
* [3.10] bpo-45238: Fix unittest.IsolatedAsyncioTestCase.debug() (GH-28449) (GH...Łukasz Langa2021-09-221-51/+155
* bpo-36674: Honour the skipping decorators in TestCase.debug() (GH-28446)Miss Islington (bot)2021-09-181-0/+66
* bpo-45156: Fixes inifite loop on unittest.mock.seal() (GH-28300) (GH-28326)Miss Islington (bot)2021-09-141-0/+61
* [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-2800...Serhiy Storchaka2021-09-082-1/+5
* bpo-45102: unittest: add tests for skipping and errors in cleanup (GH-28166)Miss Islington (bot)2021-09-051-0/+138
* bpo-43913: Fix bugs in cleaning up classes and modules in unittest. (GH-28006)Miss Islington (bot)2021-08-302-9/+632
* bpo-41620: TestCase.run() now always return a TestResult instance (GH-28030)Miss Islington (bot)2021-08-301-23/+30
* bpo-44955: Always call stopTestRun() for implicitly created TestResult object...Miss Islington (bot)2021-08-221-1/+49
* bpo-44911: Fixed IsolatedAsyncioTestCase from throwing an exception on leaked...Miss Islington (bot)2021-08-161-0/+20
* bpo-43478: Restrict use of Mock objects as specs (GH-25326)Matthew Suozzo2021-04-102-4/+26
* bpo-41877: Check for misspelled speccing arguments (GH-23737)vabr-g2020-12-141-0/+52
* bpo-41877: Improve docs for assert misspellings check in mock (GH-23729)vabr-g2020-12-101-1/+1
* bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call it...idanw2062020-12-061-0/+10
* bpo-41877 Check for asert, aseert, assrt in mocks (GH-23165)vabr-g2020-11-051-1/+10
* bpo-41943: Fix bug where assertLogs doesn't correctly filter messages… (GH-...Irit Katriel2020-11-021-0/+12
* bpo-39101: Fixes BaseException hang in IsolatedAsyncioTestCase. (GH-22654)Lisa Roach2020-10-261-0/+27
* bpo-40275: Use new test.support helper submodules in tests (GH-21449)Hai Shi2020-08-032-5/+6
* bpo-39385: Add an assertNoLogs context manager to unittest.TestCase (GH-18067)Kit Choi2020-07-011-0/+75
* bpo-29620: iterate over a copy of sys.modules (GH-4800)kernc2020-06-111-0/+15
* bpo-40462: fix variable and function names (GH-19832)Furkan Önder2020-05-011-2/+0
* bpo-39966: Revert "bpo-25597: Ensure wraps' return value is used for magic me...Karthikeyan Singaravelan2020-04-281-6/+10
* bpo-40126: Fix reverting multiple patches in unittest.mock. (GH-19351)Serhiy Storchaka2020-04-111-1/+1
* bpo-39915: Ensure await_args_list is updated according to the order in which ...Karthikeyan Singaravelan2020-03-111-0/+11
* bpo-39450 Stripped whitespace before parsing the docstring in TestCase.shortD...Steve Cirelli2020-02-031-0/+9
* Get mock coverage back to 100% (GH-18228)Chris Withers2020-01-293-41/+31
* Clarify and fix assertions that mocks have not been awaited (GH-18196)Chris Withers2020-01-272-27/+30
* Use relative imports in mock and its tests to help backporting (GH-18197)Chris Withers2020-01-272-71/+73
* bpo-25597: Ensure wraps' return value is used for magic methods in MagicMock ...Karthikeyan Singaravelan2020-01-271-0/+47
* bpo-38932: Mock fully resets child objects on reset_mock(). (GH-17409)Vegard Stikbakke2020-01-251-1/+13
* bpo-39082: Allow AsyncMock to correctly patch static/class methods (GH-18116)Matthew Kokotovich2020-01-251-0/+23
* bpo-38473: Handle autospecced functions and methods used with attach_mock (GH...Karthikeyan Singaravelan2020-01-241-0/+29
* Fix `mock.patch.dict` to be stopped with `mock.patch.stopall` (#17606)Mario Corchero2020-01-241-0/+50
* bpo-24928: Add test case for patch.dict using OrderedDict (GH -11437)Emmanuel Arias2020-01-241-0/+20
* Improve test coverage for AsyncMock. (GH-17906)Karthikeyan Singaravelan2020-01-151-4/+49
* bpo-38669: patch.object now raises a helpful error (GH17034)Elena Oat2019-12-081-0/+4
* bpo-38857: AsyncMock fix for awaitable values and StopIteration fix [3.8] (GH...Jason Fried2019-11-211-16/+58