Open fabaff opened 9 months ago
The "actual" signature is correct, the "expected" one is probably just due to incomplete type interpretation of older tool versions.
Not sure how to handle this. We might have to disable the test to avoid a dependency on the latest test tools. Or just require upgrading.
If the test is comparing the actual output strings from mypy, then surely the version of mypy needs to be pinned with the project. The error messages could change in any release.
For Nixpkgs we see an error for Python 3.11 and Python 3.12 with pytest 7.4.4 and mypy-plugins 3.0.0.