summaryrefslogtreecommitdiff
path: root/cmd2
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2')
-rw-r--r--cmd2/argcomplete_bridge.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/argcomplete_bridge.py b/cmd2/argcomplete_bridge.py
index 3d53132e..2e3ddac4 100644
--- a/cmd2/argcomplete_bridge.py
+++ b/cmd2/argcomplete_bridge.py
@@ -4,7 +4,7 @@
try:
# check if argcomplete is installed
import argcomplete
-except ImportError:
+except ImportError: # pragma: no cover
# not installed, skip the rest of the file
pass
@@ -70,7 +70,7 @@ else:
break
except ValueError:
# ValueError can be caused by missing closing quote
- if not quotes_to_try:
+ if not quotes_to_try: # pragma: no cover
# Since we have no more quotes to try, something else
# is causing the parsing error. Return None since
# this means the line is malformed.