Skip to content

Commit

Permalink
quality: Code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Nov 7, 2024
1 parent 9150fa6 commit 3daafec
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ async def test_scrape_page_website(
async with open(
encoding="utf-8",
file=join(website_path, f"{website}.md"),
mode="r",
) as f:
expected = await f.read()
assert page.content == expected.strip(), "Markdown content should match"
Expand Down Expand Up @@ -198,7 +197,6 @@ async def test_scrape_page_paragraphs(browser: Browser) -> None:
async with open(
encoding="utf-8",
file=join(dir_tests("websites"), "paragraphs.html.md"),
mode="r",
) as f:
expected = await f.read()
assert page.content == expected.strip(), "Content should match"
Expand Down Expand Up @@ -228,7 +226,6 @@ async def _image_callback(

async with open(
file=join(dir_tests("websites"), "images", "banana.jpg"),
mode="r",
) as f:
expected = await f.read()
assert body == expected, "Content should match"
Expand Down

0 comments on commit 3daafec

Please sign in to comment.