]> granicus.if.org Git - python/commitdiff
Issue #16629: Fix IDLE idlelib.CallTips test. Patch by Roger Serwy.
authorChris Jerdonek <chris.jerdonek@gmail.com>
Mon, 10 Dec 2012 02:17:27 +0000 (18:17 -0800)
committerChris Jerdonek <chris.jerdonek@gmail.com>
Mon, 10 Dec 2012 02:17:27 +0000 (18:17 -0800)
This commit updates a test broken by the change made for issue #14783.

Lib/idlelib/CallTips.py

index b3629c447d79643d495425d0872b94b4f595bdb4..3c8c096d23c9d38946799d3ad7b5d909cfa80920 100644 (file)
@@ -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")