summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-06-13 11:12:02 -0400
committerGitHub <noreply@github.com>2018-06-13 11:12:02 -0400
commitb8fa8ce48acacab29d7df52101bff3bcc58ca24f (patch)
tree55c8174eb50b28bf02910be9ce0751dff4f7184a /cmd2/cmd2.py
parent2356d7917ceeb30a9b9dfd2f031aa614855f3da3 (diff)
parent878a662ea4a20631d6c18ed62a940448df33d799 (diff)
downloadcmd2-git-b8fa8ce48acacab29d7df52101bff3bcc58ca24f.tar.gz
Merge branch 'master' into ppaged_pager_env
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r--cmd2/cmd2.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 22797430..80449a34 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -50,7 +50,7 @@ from cmd2.parsing import StatementParser, Statement
# Set up readline
from .rl_utils import rl_type, RlType
-if rl_type == RlType.NONE:
+if rl_type == RlType.NONE: # pragma: no cover
rl_warning = "Readline features including tab completion have been disabled since no \n" \
"supported version of readline was found. To resolve this, install \n" \
"pyreadline on Windows or gnureadline on Mac.\n\n"
@@ -84,7 +84,7 @@ from .argparse_completer import AutoCompleter, ACArgumentParser
# Newer versions of pyperclip are released as a single file, but older versions had a more complicated structure
try:
from pyperclip.exceptions import PyperclipException
-except ImportError:
+except ImportError: # pragma: no cover
# noinspection PyUnresolvedReferences
from pyperclip import PyperclipException
@@ -121,7 +121,7 @@ ipython_available = True
try:
# noinspection PyUnresolvedReferences,PyPackageRequirements
from IPython import embed
-except ImportError:
+except ImportError: # pragma: no cover
ipython_available = False
__version__ = '0.9.2a'