Skip to content

Commit

Permalink
Fix stubtest custom_typeshed_dir regression (#13656)
Browse files Browse the repository at this point in the history
Fixes #13654, caused by #13629
  • Loading branch information
hauntsaninja committed Sep 13, 2022
1 parent 216a45b commit a5f218f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mypy/stubtest.py
Expand Up @@ -1597,6 +1597,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 a5f218f

Please sign in to comment.