aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-googletrans/client.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py3-googletrans/client.patch')
-rw-r--r--testing/py3-googletrans/client.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/py3-googletrans/client.patch b/testing/py3-googletrans/client.patch
new file mode 100644
index 00000000000..5f1c1256277
--- /dev/null
+++ b/testing/py3-googletrans/client.patch
@@ -0,0 +1,12 @@
+--- a/googletrans/client.py
++++ b/googletrans/client.py
+@@ -52,7 +52,7 @@
+
+ def __init__(self, service_urls=None, user_agent=DEFAULT_USER_AGENT,
+ raise_exception=DEFAULT_RAISE_EXCEPTION,
+- proxies: typing.Dict[str, httpcore.SyncHTTPTransport] = None, timeout: Timeout = None):
++ proxies: typing.Dict[str, httpcore.HTTPProxy] = None, timeout: Timeout = None):
+
+ self.client = httpx.Client()
+ if proxies is not None: # pragma: nocover
+