MCPcopy Index your code
hub / github.com/python/cpython / setUpClass

Method setUpClass

Lib/test/test_pdb.py:5002–5007  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

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("""

Callers

nothing calls this directly

Calls 1

import_moduleFunction · 0.90

Tested by

no test coverage detected