Skip to content

Commit

Permalink
[0.980 backport] Fix stubtest custom_typeshed_dir regression (#13656) (
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Sep 13, 2022
1 parent 70bc348 commit efd1d38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mypy/stubtest.py
Expand Up @@ -1555,6 +1555,8 @@ def test_stubs(args: _Arguments, use_builtins_fixtures: bool = False) -> int:
options = Options()
options.incremental = False
options.custom_typeshed_dir = args.custom_typeshed_dir
if options.custom_typeshed_dir:
options.abs_custom_typeshed_dir = os.path.abspath(args.custom_typeshed_dir)
options.config_file = args.mypy_config_file
options.use_builtins_fixtures = use_builtins_fixtures

Expand Down

0 comments on commit efd1d38

Please sign in to comment.