File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ def pyreadline_remove_history_item(pos: int) -> None:
120120 # Load the readline lib so we can access members of it
121121 import ctypes
122122 readline_lib = ctypes .CDLL (readline .__file__ )
123- except AttributeError :
123+ except AttributeError : # pragma: no cover
124124 _rl_warn_reason = ("this application is running in a non-standard Python environment in\n "
125125 "which readline is not loaded dynamically from a shared library file." )
126126 else :
@@ -129,7 +129,7 @@ def pyreadline_remove_history_item(pos: int) -> None:
129129 vt100_support = True
130130
131131# Check if readline was loaded
132- if rl_type == RlType .NONE :
132+ if rl_type == RlType .NONE : # pragma: no cover
133133 if not _rl_warn_reason :
134134 _rl_warn_reason = ("no supported version of readline was found. To resolve this, install\n "
135135 "pyreadline on Windows or gnureadline on Mac." )
You can’t perform that action at this time.
0 commit comments