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:
120
120
# Load the readline lib so we can access members of it
121
121
import ctypes
122
122
readline_lib = ctypes .CDLL (readline .__file__ )
123
- except AttributeError :
123
+ except AttributeError : # pragma: no cover
124
124
_rl_warn_reason = ("this application is running in a non-standard Python environment in\n "
125
125
"which readline is not loaded dynamically from a shared library file." )
126
126
else :
@@ -129,7 +129,7 @@ def pyreadline_remove_history_item(pos: int) -> None:
129
129
vt100_support = True
130
130
131
131
# Check if readline was loaded
132
- if rl_type == RlType .NONE :
132
+ if rl_type == RlType .NONE : # pragma: no cover
133
133
if not _rl_warn_reason :
134
134
_rl_warn_reason = ("no supported version of readline was found. To resolve this, install\n "
135
135
"pyreadline on Windows or gnureadline on Mac." )
You can’t perform that action at this time.
0 commit comments