Browse Source

refactor: remove redundant cast

Fabian Peter Hammerle 2 years ago
parent
commit
4d381f4255
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/conftest.py

+ 1 - 1
tests/conftest.py

@@ -10,4 +10,4 @@ def google_calendar_file() -> typing.Iterator[io.BufferedReader]:
     with pathlib.Path(__file__).parent.joinpath(
         "resources", "google-calendar.ics"
     ).open("rb") as file:
-        yield typing.cast(io.BufferedReader, file)
+        yield file