regr_test.py: Allow non-types dependencies (#9382)

This commit is contained in:
Alex Waygood
2022-12-23 21:55:54 +00:00
committed by GitHub
parent 4379a6a509
commit 8671fc5c0f
5 changed files with 250 additions and 102 deletions

View File

@@ -274,7 +274,7 @@ def add_third_party_files(
seen_dists.add(distribution)
stubs_dir = Path("stubs")
dependencies = get_recursive_requirements(distribution)
dependencies = get_recursive_requirements(distribution).typeshed_pkgs
for dependency in dependencies:
if dependency in seen_dists: