summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
Commit message (Expand)AuthorAgeFilesLines
* gh-100739: Respect mock spec when checking for unsafe prefixes (GH-100740)Miss Islington (bot)2023-01-042-1/+17
* [3.10] gh-100287: Fix unittest.mock.seal with AsyncMock (GH-100496) (#100508)Shantanu2022-12-242-5/+17
* gh-98458: unittest: bugfix for infinite loop while handling chained exception...Miss Islington (bot)2022-12-042-1/+59
* [3.10] gh-99645: Fix a bug in handling class cleanups in unittest.TestCase (G...Serhiy Storchaka2022-11-222-5/+32
* [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-202-0/+35
* [3.10] gh-98624 Add mutex to unittest.mock.NonCallableMock (GH-98688) (#98798)Miss Islington (bot)2022-10-281-28/+38
* gh-96021: Explicitly tear down the IsolatedAsyncioTestCase loop in tests (GH-...Miss Islington (bot)2022-08-281-2/+7
* gh-84753: Make inspect.iscoroutinefunction() work with AsyncMock (GH-94050) (...Miss Islington (bot)2022-06-301-0/+4
* [3.10] gh-91676 gh-91260 unittest.IsolatedAsyncioTestCase no longer leaks its...Gregory P. Smith2022-04-191-0/+2
* bpo-46421: Fix unittest filename evaluation when called as a module (GH-30654)Miss Islington (bot)2022-03-181-1/+1
* bpo-24959: fix unittest.assertRaises bug where traceback entries are dropped ...Miss Islington (bot)2022-03-082-14/+94
* bpo-41403: Improve error message for invalid mock target (GH-30833) (GH-30834)Irit Katriel2022-01-232-5/+10
* [3.10] bpo-46425: Fix direct invocation of multiple test modules (GH-30666) (...Nikita Sobolev2022-01-201-1/+1
* [3.10] bpo-46129: Rewrite asyncio.locks tests with IsolatedAsyncioTestCase (G...Andrew Svetlov2021-12-191-1/+0
* 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-103-4/+42
* ensure deprecation warning from assertDictContainsSubset points at actual tes...Anthony Sottile2021-11-162-1/+6
* [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804)Christian Clauss2021-10-072-2/+2
* [3.10] bpo-45238: Fix unittest.IsolatedAsyncioTestCase.debug() (GH-28449) (GH...Łukasz Langa2021-09-223-61/+174
* bpo-36674: Honour the skipping decorators in TestCase.debug() (GH-28446)Miss Islington (bot)2021-09-182-1/+75
* bpo-45156: Fixes inifite loop on unittest.mock.seal() (GH-28300) (GH-28326)Miss Islington (bot)2021-09-142-6/+68
* [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-303-70/+711
* bpo-41620: TestCase.run() now always return a TestResult instance (GH-28030)Miss Islington (bot)2021-08-302-24/+31
* bpo-44955: Always call stopTestRun() for implicitly created TestResult object...Miss Islington (bot)2021-08-222-53/+99
* bpo-44911: Fixed IsolatedAsyncioTestCase from throwing an exception on leaked...Miss Islington (bot)2021-08-162-1/+21
* bpo-43478: Restrict use of Mock objects as specs (GH-25326)Matthew Suozzo2021-04-103-8/+64
* bpo-42934: use TracebackException(compact=True) in unittest.TestResult (GH-24...Irit Katriel2021-01-151-1/+2
* bpo-41877: Check for misspelled speccing arguments (GH-23737)vabr-g2020-12-142-8/+83
* bpo-41877: Improve docs for assert misspellings check in mock (GH-23729)vabr-g2020-12-102-3/+4
* bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call it...idanw2062020-12-062-1/+11
* bpo-41877 Check for asert, aseert, assrt in mocks (GH-23165)vabr-g2020-11-052-3/+12
* bpo-41943: Fix bug where assertLogs doesn't correctly filter messages… (GH-...Irit Katriel2020-11-022-0/+13
* bpo-39101: Fixes BaseException hang in IsolatedAsyncioTestCase. (GH-22654)Lisa Roach2020-10-262-2/+29
* 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-013-8/+107
* bpo-29620: iterate over a copy of sys.modules (GH-4800)kernc2020-06-112-1/+16
* 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-282-12/+10
* bpo-40275: Avoid importing logging in test.support (GH-19601)Serhiy Storchaka2020-04-252-68/+71
* bpo-40275: Avoid importing asyncio in test.support (GH-19600)Serhiy Storchaka2020-04-251-1/+16
* bpo-40126: Fix reverting multiple patches in unittest.mock. (GH-19351)Serhiy Storchaka2020-04-112-49/+27
* bpo-39481: PEP 585 for a variety of modules (GH-19423)Batuhan Taşkaya2020-04-101-0/+2
* bpo-39915: Ensure await_args_list is updated according to the order in which ...Karthikeyan Singaravelan2020-03-112-1/+12
* bpo-39450 Stripped whitespace before parsing the docstring in TestCase.shortD...Steve Cirelli2020-02-032-1/+10
* Get mock coverage back to 100% (GH-18228)Chris Withers2020-01-294-54/+35
* bpo-39485: fix corner-case in method-detection of mock (GH-18252)Carl Friedrich Bolz-Tereick2020-01-291-5/+1
* Clarify and fix assertions that mocks have not been awaited (GH-18196)Chris Withers2020-01-272-27/+30