Procházet zdrojové kódy

refactor: remove redundant cast

Fabian Peter Hammerle před 3 roky
rodič
revize
4d381f4255
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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