Explorar o código

refactor: remove redundant cast

Fabian Peter Hammerle %!s(int64=3) %!d(string=hai) anos
pai
achega
4d381f4255
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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