mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Add classmethod to setUpClass in test_pdb (#133840)
This commit is contained in:
parent
70f9b3de36
commit
4f2f780d53
1 changed files with 3 additions and 1 deletions
|
@ -4749,7 +4749,9 @@ class TestREPLSession(unittest.TestCase):
|
|||
@support.force_not_colorized_test_class
|
||||
@support.requires_subprocess()
|
||||
class PdbTestReadline(unittest.TestCase):
|
||||
def setUpClass():
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
# Ensure that the readline module is loaded
|
||||
# If this fails, the test is skipped because SkipTest will be raised
|
||||
readline = import_module('readline')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue