mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 13:02:22 +08:00
Support tests/mypy_test.py [package] (#8610)
Currently, the testsuite early exits if it's filtering on a single package. With this change, it will correctly complete. For example `tests/mypy_test.py protobuf`
This commit is contained in:
@@ -341,6 +341,9 @@ def test_third_party_distribution(distribution: str, args: TestConfig) -> TestRe
|
||||
seen_dists: set[str] = set()
|
||||
add_third_party_files(distribution, files, args, configurations, seen_dists)
|
||||
|
||||
if not files and args.filter:
|
||||
return TestResults(0, 0)
|
||||
|
||||
print(f"testing {distribution} ({len(files)} files)... ", end="")
|
||||
|
||||
if not files:
|
||||
|
||||
Reference in New Issue
Block a user