fix mypy on 3.9 (#10179)

in
https://github.com/certbot/certbot/pull/10160/files#diff-f14c5058a01d9c9f8e0215ae6378c1d99fcfe2dd71d5cea207a7d610b31c149bR123
we used the nice & clean `|` syntax for unions but this caused tests to
fail for me locally where i was using python 3.9. this fixes that using
the same approach as was used in
https://github.com/certbot/certbot/pull/10178

i think we want this regardless, but by the same logic as
a00e343459,
i think we could consider deprecating & dropping python 3.9 support
early
This commit is contained in:
Brad Warren 2025-02-05 12:15:27 -08:00 committed by GitHub
parent e32f4fc5fb
commit 2535a7bb29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
"""Tests for certbot_dns_google._internal.dns_google."""
from __future__ import annotations
import sys
from typing import Optional
from typing import Tuple