We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6b0377 commit 63be58eCopy full SHA for 63be58e
src/pybind/mgr/smb/proto.py
@@ -18,7 +18,7 @@
18
19
# this uses a version check as opposed to a try/except because this
20
# form makes mypy happy and try/except doesn't.
21
-if sys.version_info >= (3, 8):
+if sys.version_info >= (3, 8): # pragma: no cover
22
from typing import Protocol
23
elif TYPE_CHECKING: # pragma: no cover
24
# typing_extensions will not be available for the real mgr server
@@ -29,7 +29,7 @@ class Protocol: # type: ignore
29
pass
30
31
32
-if sys.version_info >= (3, 11):
+if sys.version_info >= (3, 11): # pragma: no cover
33
from typing import Self
34
35
0 commit comments