Mypy failing to understand ProgressBar
and contextlib.nullcontext()
are both context managers
#16892
Labels
ProgressBar
and contextlib.nullcontext()
are both context managers
#16892
Bug Report
Mypy 1.8 seems to be failing to combine
prompt-toolkit
'sProgressBar
withcontextlib.nullcontext()
into a context manager object.To Reproduce
Expected Behavior
No type errors
Actual Behavior
Your Environment
mypy.ini
(and other config files):The text was updated successfully, but these errors were encountered: