List item has incompatible type when passed to pytest.mark.parametrize
#9787
Labels
bug
mypy got something wrong
8000
pytest.mark.parametrize
#9787
Bug Report
When a list of
NamedTuple
is passed topytest.mark.parametrize
, the following error are thrown:pytest.mark.parametrize
is usingSequence
so a list should be valid.To Reproduce
Use the following example code and run the latest mypy version (as of this writing,
0.790
)Expected Behavior
No errors.
Actual Behavior
Throws:
Your Environment
mypy 0.790
mypy.ini
(and other config files): N/APython 3.8.5
OSX 10.15.7 (Catalina)
The text was updated successfully, but these errors were encountered: