We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0d650e commit 862a056Copy full SHA for 862a056
threaded/__init__.py
@@ -23,9 +23,9 @@
23
from ._threaded import Threaded, threaded
24
from ._threadpooled import ThreadPooled, threadpooled
25
26
-try:
+try: # pragma: no cover
27
__version__ = pkg_resources.get_distribution(__name__).version
28
-except pkg_resources.DistributionNotFound:
+except pkg_resources.DistributionNotFound: # pragma: no cover
29
# package is not installed, try to get from SCM
30
try:
31
import setuptools_scm # type: ignore
0 commit comments