summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_calltip.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2021-01-24 19:08:50 (GMT)
committerGitHub <noreply@github.com>2021-01-24 19:08:50 (GMT)
commit8dfe15625e6ea4357a13fec7989a0e6ba2bf1359 (patch)
tree50c5397aa53f021616f370e3dfab3520eefddbd2 /Lib/idlelib/idle_test/test_calltip.py
parent15bd9efd01e44087664e78bf766865a6d2e06626 (diff)
downloadcpython-8dfe15625e6ea4357a13fec7989a0e6ba2bf1359.zip
cpython-8dfe15625e6ea4357a13fec7989a0e6ba2bf1359.tar.gz
cpython-8dfe15625e6ea4357a13fec7989a0e6ba2bf1359.tar.bz2
bpo-43013: Update idlelib code to 3.x (GH-24315)
Remove 9 remaining '(object)' occurrences in class headers in idlelib and 25 '()' occurrences in idlelib.idle_test class headers.
Diffstat (limited to 'Lib/idlelib/idle_test/test_calltip.py')
-rw-r--r--Lib/idlelib/idle_test/test_calltip.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/test_calltip.py b/Lib/idlelib/idle_test/test_calltip.py
index a76829f..b23915c 100644
--- a/Lib/idlelib/idle_test/test_calltip.py
+++ b/Lib/idlelib/idle_test/test_calltip.py
@@ -10,7 +10,7 @@ from idlelib.idle_test.mock_tk import Text
# Test Class TC is used in multiple get_argspec test methods
-class TC():
+class TC:
'doc'
tip = "(ai=None, *b)"
def __init__(self, ai=None, *b): 'doc'
@@ -268,7 +268,7 @@ class Get_entityTest(unittest.TestCase):
# open_calltip is about half the code; the others are fairly trivial.
# The default mocks are what are needed for open_calltip.
-class mock_Shell():
+class mock_Shell:
"Return mock sufficient to pass to hyperparser."
def __init__(self, text):
text.tag_prevrange = Mock(return_value=None)