Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #230

Merged
merged 2 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/typeshed_stats/gather.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ def get_stubtest_allowlist_length(
True
"""
if package_name == "stdlib":
allowlist_dir = Path(typeshed_dir, "tests", "stubtest_allowlists")
allowlist_dir = Path(typeshed_dir, "stdlib", "@tests", "stubtest_allowlists")
combined_allowlist = chain.from_iterable(
_allowlist_entries_in_file(file) for file in allowlist_dir.glob("*.txt")
)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_gather.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def test_get_stubtest_platform_non_stdlib(
def test_get_stubtest_allowlist_length_stdlib(
typeshed: Path, maybe_stringize_path: Callable[[Path], Path | str]
) -> None:
tests_dir = typeshed / "tests"
tests_dir = typeshed / "stdlib" / "@tests"
tests_dir.mkdir()
allowlist_dir = tests_dir / "stubtest_allowlists"
allowlist_dir.mkdir()
Expand Down