mirror of
https://github.com/certbot/certbot.git
synced 2026-05-19 16:55:56 -04:00
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:
parent
e32f4fc5fb
commit
2535a7bb29
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue