Skip to content

Commit

Permalink
Revert "Revert "Fix CI (#230)""
Browse files Browse the repository at this point in the history
This reverts commit f782acb.
  • Loading branch information
AlexWaygood committed May 21, 2024
1 parent f782acb commit 2e4466b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 2e4466b

Please sign in to comment.