Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Disable test with libedit
  • Loading branch information
gaogaotiantian committed Nov 7, 2023
commit ae643184ede6dfbcba283b881a1baf93a453e373
4 changes: 3 additions & 1 deletion Lib/test/test_pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -3242,7 +3242,9 @@ class PdbTestReadline(unittest.TestCase):
def setUpClass():
# Ensure that the readline module is loaded
# If this fails, the test is skipped because SkipTest will be raised
import_module('readline')
readline = import_module('readline')
if readline.__doc__ and "libedit" in readline.__doc__:
raise unittest.SkipTest("libedit readline is not supported for pdb")

def test_basic_completion(self):
script = textwrap.dedent("""
Expand Down