Skip to content

Commit

Permalink
test: Make mypy happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuloc committed Dec 23, 2024
1 parent 0cab57c commit 5f18f80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/units/reporter/test_md_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from __future__ import annotations

from io import StringIO
from io import BytesIO, TextIOWrapper
from pathlib import Path

import pytest
Expand Down Expand Up @@ -46,7 +46,7 @@ def generate_section(self) -> None:

results = ResultManager()

with StringIO() as mock_file:
with TextIOWrapper(BytesIO(b"1 2 3")) as mock_file:
report = FakeMDReportBase(mock_file, results)
assert report.generate_heading_name() == "Fake MD Report Base"

Expand Down

0 comments on commit 5f18f80

Please sign in to comment.