summaryrefslogtreecommitdiff
path: root/coverage/optional.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/optional.py')
-rw-r--r--coverage/optional.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/coverage/optional.py b/coverage/optional.py
index ee617b62..507a1ada 100644
--- a/coverage/optional.py
+++ b/coverage/optional.py
@@ -15,6 +15,14 @@ unavailable.
Bad::
# MyModule.py
+ import unsure
+
+ def use_unsure():
+ unsure.something()
+
+Also bad::
+
+ # MyModule.py
from coverage.optional import unsure
def use_unsure():