Skip to content

Commit ae64318

Browse files
Disable test with libedit
1 parent 7e35c29 commit ae64318

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/test/test_pdb.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -3242,7 +3242,9 @@ class PdbTestReadline(unittest.TestCase):
32423242
def setUpClass():
32433243
# Ensure that the readline module is loaded
32443244
# If this fails, the test is skipped because SkipTest will be raised
3245-
import_module('readline')
3245+
readline = import_module('readline')
3246+
if readline.__doc__ and "libedit" in readline.__doc__:
3247+
raise unittest.SkipTest("libedit readline is not supported for pdb")
32463248

32473249
def test_basic_completion(self):
32483250
script = textwrap.dedent("""

0 commit comments

Comments
 (0)