File: remove-type-annotation-in-tests.patch

package info (click to toggle)
python-gcal-sync 9.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 436 kB
  • sloc: python: 5,289; sh: 9; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 483 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Remove type annotation in tests
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2025-02-23

--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -25,7 +25,7 @@
 ApiRequest = Callable[[], list[dict[str, Any]]]
 _T = TypeVar("_T")
 YieldFixture = Generator[_T, None, None]
-NestTestClient = TestClient[aiohttp.web.Request, aiohttp.web.Application]
+NestTestClient = TestClient
 
 
 class FakeAuth(AbstractAuth):  # pylint: disable=too-few-public-methods