Skip to content

Commit 5524ab5

Browse files
committed
More about optional
1 parent 2b34c30 commit 5524ab5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

coverage/optional.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@
1414
1515
Bad::
1616
17+
# MyModule.py
18+
import unsure
19+
20+
def use_unsure():
21+
unsure.something()
22+
23+
Also bad::
24+
1725
# MyModule.py
1826
from coverage.optional import unsure
1927

0 commit comments

Comments
 (0)