1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

more pragma: no cover for 3.7 specific import work-around

This commit is contained in:
Ross McFarland
2023-02-04 08:18:50 -08:00
parent cfaf7315de
commit 1d535ad596

View File

@@ -19,7 +19,7 @@ from .yaml import safe_load
from .zone import Zone
# TODO: this can go away once we no longer support python 3.7
try:
try: # pragma: no cover
from importlib.metadata import PackageNotFoundError
from importlib.metadata import version as module_version
except ModuleNotFoundError: # pragma: no cover