mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Move test_cases to stdlib/@tests/test_cases (#11865)
This commit is contained in:
@@ -29,6 +29,7 @@ import tomli
|
||||
from parse_metadata import PackageDependencies, get_recursive_requirements, read_metadata
|
||||
from utils import (
|
||||
PYTHON_VERSION,
|
||||
TESTS_DIR,
|
||||
VERSIONS_RE as VERSION_LINE_RE,
|
||||
colored,
|
||||
get_gitignore_spec,
|
||||
@@ -366,7 +367,7 @@ def test_stdlib(args: TestConfig) -> TestResult:
|
||||
stdlib = Path("stdlib")
|
||||
supported_versions = parse_versions(stdlib / "VERSIONS")
|
||||
for name in os.listdir(stdlib):
|
||||
if name == "VERSIONS" or name.startswith("."):
|
||||
if name in ("VERSIONS", TESTS_DIR) or name.startswith("."):
|
||||
continue
|
||||
module = Path(name).stem
|
||||
module_min_version, module_max_version = supported_versions[module]
|
||||
|
||||
Reference in New Issue
Block a user