stubtest --custom-typeshed-dir
broken on master and 0.980
#13654
Labels
affects-typeshed
Anything that blocks a typeshed change
bug
mypy got something wrong
priority-0-high
topic-stubtest
Bug Report
c0372cc appears to have broken stubtest if you use it with
--custom-typeshed-dir
. Attempting to use stubtest with--custom-typeshed-dir
pointing to a local clone of typeshed will result in the following message (or something like it):Notes on the bug:
master
and mypyrelease-0.980
.--check-typeshed
flag, as well as if you don't.Cc. @ilevkivskyi, @jhance, @hauntsaninja
To Reproduce
Any of the following will reproduce:
(venv) python -m mypy.stubtest typed_ast --custom-typeshed-dir relative/path/to/typeshed
(venv) python -m mypy.stubtest typed_ast --custom-typeshed-dir absolute/path/to/typeshed
(venv) python -m mypy.stubtest --check-typeshed --custom-typeshed-dir relative/path/to/typeshed
(venv) python -m mypy.stubtest --check-typeshed --custom-typeshed-dir absolute/path/to/typeshed
Expected Behavior
Stubtest with
--custom-typeshed-dir
would work on mypy master.Actual Behavior
Stubtest with
--custom-typeshed-dir
did not work on mypy master.Your Environment
The text was updated successfully, but these errors were encountered: