Skip to content

Commit 488d867

Browse files
Linting fixes
1 parent 379d3c1 commit 488d867

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/test_examples.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,14 @@ async def test_desktop(monkeypatch):
6969
content = result.contents[0]
7070
assert isinstance(content, TextResourceContents)
7171
assert isinstance(content.text, str)
72-
assert any(path in content.text for path in ["/fake/path/file1.txt", "\\\\fake\\\\path\\\\file1.txt"])
73-
assert any(path in content.text for path in ["/fake/path/file2.txt", "\\\\fake\\\\path\\\\file2.txt"])
72+
assert any(
73+
path in content.text
74+
for path in ["/fake/path/file1.txt", "\\\\fake\\\\path\\\\file1.txt"]
75+
)
76+
assert any(
77+
path in content.text
78+
for path in ["/fake/path/file2.txt", "\\\\fake\\\\path\\\\file2.txt"]
79+
)
7480

7581

7682
@pytest.mark.parametrize("example", find_examples("README.md"), ids=str)

0 commit comments

Comments
 (0)