Skip to content
Merged
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 tests/pytype_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def can_run(exe: str, *, args: List[str]) -> bool:


def _is_version(path: str, version: str) -> bool:
return any("{}/{}".format(d, version) in path for d in TYPESHED_SUBDIRS)
return any("{}{}{}".format(d, os.path.sep, version) in path for d in TYPESHED_SUBDIRS)


def check_subdirs_discoverable(subdir_paths: List[str]) -> None:
Expand Down