mypy
mypy copied to clipboard
Add test documenting #12998
Add a test demonstrating #12998.
@hauntsaninja
@hauntsaninja would you mind taking a look?
I'm not Shantanu but I don't think we should add a test that's testing incorrect behavior. Maybe make it an xfail test with the desired behavior.
How do I make it xfail? mypy seems to have a bespoke testing framework.
Grep for xfail
in the mypy sourcecode and you'll see.
Done, thanks.
@JelleZijlstra anything further?