mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
[3.13] Add classmethod to setUpClass in test_pdb (GH-133840) (#133847)
Add classmethod to setUpClass in test_pdb (GH-133840)
(cherry picked from commit 4f2f780d53
)
Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
This commit is contained in:
parent
e76ff560b0
commit
26b6ab49e4
1 changed files with 3 additions and 1 deletions
|
@ -4022,7 +4022,9 @@ class ChecklineTests(unittest.TestCase):
|
|||
|
||||
@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