mypy
behavior differs when run on a file directly vs a test
#18721
Labels
mypy
behavior differs when run on a file directly vs a test
#18721
Bug Report
Likely due to some test stubs inconsistency,
mypy
behaviour in test deviates from results of running full mypy on a file.This is a follow-up for #18675.
To Reproduce
Add the following test to
check-enum.test
:Now copy the test code to a separate file and run
mypy
on it.Expected Behavior
Test and
mypy
outputs are identical.Actual Behavior
Your Environment
.enum_members
to find enum members #18675 head--warn-unreachable --config-file= --python-version=3.13
mypy.ini
(and other config files): N/AThe text was updated successfully, but these errors were encountered: