summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-12-10 02:17:27 (GMT)
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-12-10 02:17:27 (GMT)
commit175196886ec6739494c3b757317951c91460f0dc (patch)
tree78bbaec962b85bb3ef85462312a1a70cfc7f1b90
parent806bfad45749f25f9d6ac1622598d348297e127b (diff)
downloadcpython-175196886ec6739494c3b757317951c91460f0dc.zip
cpython-175196886ec6739494c3b757317951c91460f0dc.tar.gz
cpython-175196886ec6739494c3b757317951c91460f0dc.tar.bz2
Issue #16629: Fix IDLE idlelib.CallTips test. Patch by Roger Serwy.
This commit updates a test broken by the change made for issue #14783.
-rw-r--r--Lib/idlelib/CallTips.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/CallTips.py b/Lib/idlelib/CallTips.py
index b3629c4..3c8c096 100644
--- a/Lib/idlelib/CallTips.py
+++ b/Lib/idlelib/CallTips.py
@@ -211,7 +211,7 @@ def main():
def test_builtins():
# if first line of a possibly multiline compiled docstring changes,
# must change corresponding test string
- test('int', "int(x[, base]) -> integer")
+ test('int', "int(x=0) -> integer")
test('Int', Int.__doc__)
test('types.MethodType', "method(function, instance)")
test('list', "list() -> new empty list")