mirror of
https://github.com/python/cpython.git
synced 2025-10-27 11:44:39 +00:00
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`). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| _log.py | ||
| async_case.py | ||
| case.py | ||
| loader.py | ||
| main.py | ||
| mock.py | ||
| result.py | ||
| runner.py | ||
| signals.py | ||
| suite.py | ||
| util.py | ||