cpython/Lib/unittest
Bénédikt Tran 8a9c6c4d16
gh-128398: improve error messages when incorrectly using with and async with (#132218)
Improve the error message with a suggestion when an object supporting the synchronous
(resp. asynchronous) context manager protocol is entered using `async with` (resp. `with`)
instead of `with` (resp. `async with`).
2025-04-19 10:44:01 +02:00
..
__init__.py gh-126133: Only use start year in PSF copyright, remove end years (#126236) 2024-11-12 15:59:19 +02:00
__main__.py
_log.py
async_case.py gh-128398: improve error messages when incorrectly using with and async with (#132218) 2025-04-19 10:44:01 +02:00
case.py gh-128398: improve error messages when incorrectly using with and async with (#132218) 2025-04-19 10:44:01 +02:00
loader.py gh-80958: unittest: discovery support for namespace packages as start directory (#123820) 2024-10-23 13:41:33 +09:00
main.py GH-113661: unittest runner: Don't exit 5 if tests were skipped (#113856) 2024-01-09 19:50:01 +00:00
mock.py gh-104745: Limit starting a patcher more than once without stopping it (#126649) 2024-11-13 08:20:38 +00:00
result.py gh-128595: Default to stdout isatty for colour detection instead of stderr (#128498) 2025-01-20 12:52:42 +02:00
runner.py gh-128595: Default to stdout isatty for colour detection instead of stderr (#128498) 2025-01-20 12:52:42 +02:00
signals.py
suite.py
util.py