We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1deb63f commit 6621932Copy full SHA for 6621932
attr_utils/pprinter.py
@@ -55,7 +55,7 @@
55
# 3rd party
56
import prettyprinter # type: ignore # nodep
57
from prettyprinter.prettyprinter import _BASE_DISPATCH, pretty_dispatch # type: ignore # nodep
58
-except ImportError as e:
+except ImportError as e: # pragma: no cover
59
exc = type(e)(f"Could not import 'prettyprinter'. Perhaps you need to install 'attr_utils[pprint]'?\n\n{e}")
60
raise exc.with_traceback(e.__traceback__) from None
61
0 commit comments