We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78ea339 commit f6c04d4Copy full SHA for f6c04d4
test/t/conftest.py
@@ -773,7 +773,9 @@ def startswith(self, prefix: str) -> bool:
773
return self.output.startswith(prefix)
774
775
def _items(self) -> List[str]:
776
- return sorted([x.strip() for x in self.output.strip().splitlines()])
+ return sorted(
777
+ [x.strip() for x in self.output.strip().splitlines() if x]
778
+ )
779
780
def __eq__(self, expected: object) -> bool:
781
"""
0 commit comments