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/test_pod.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def _lines(self, entries: object) -> list[str]:
# pod.py never emits a GuardedEnvFile (only emit.py's env_file path does), so this
# is always str at runtime; the Token union just doesn't narrow that far statically.
tokens = hosts_file_tokens(services, ["a"], [])[2:] # drop the two fixed localhost lines
return [t.value if isinstance(t, Expand) else t for t in tokens] # ty: ignore[invalid-return-type]
return [t.value if isinstance(t, Expand) else t for t in tokens] # ty: ignore[invalid-explicit-return]

def test_equals_separator_is_split_correctly(self) -> None:
# Used to emit the whole string as the hostname: '1.2.3.4: somehost'
Expand Down
Loading