(cls)
| 5000 | |
| 5001 | @classmethod |
| 5002 | def setUpClass(cls): |
| 5003 | # Ensure that the readline module is loaded |
| 5004 | # If this fails, the test is skipped because SkipTest will be raised |
| 5005 | readline = import_module('readline') |
| 5006 | if readline.backend == "editline": |
| 5007 | raise unittest.SkipTest("libedit readline is not supported for pdb") |
| 5008 | |
| 5009 | def test_basic_completion(self): |
| 5010 | script = textwrap.dedent(""" |
nothing calls this directly
no test coverage detected