aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/idlelib/idle_test/test_calltip.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/idle_test/test_calltip.py')
-rw-r--r--Lib/idlelib/idle_test/test_calltip.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/test_calltip.py b/Lib/idlelib/idle_test/test_calltip.py
index e8d2bd17cb6..1ccb63b9dbd 100644
--- a/Lib/idlelib/idle_test/test_calltip.py
+++ b/Lib/idlelib/idle_test/test_calltip.py
@@ -77,7 +77,9 @@ class Get_argspecTest(unittest.TestCase):
tiptest(List.append, '(self, object, /)' + append_doc)
tiptest([].append, '(object, /)' + append_doc)
- tiptest(types.MethodType, "method(function, instance)")
+ tiptest(types.MethodType,
+ '(function, instance, /)\n'
+ 'Create a bound instance method object.')
tiptest(SB(), default_tip)
p = re.compile('')