Issue #16629: Merge IDLE test fix from 3.2.
This commit is contained in:
commit
af72f9ea9c
|
@ -211,7 +211,7 @@ def main():
|
||||||
def test_builtins():
|
def test_builtins():
|
||||||
# if first line of a possibly multiline compiled docstring changes,
|
# if first line of a possibly multiline compiled docstring changes,
|
||||||
# must change corresponding test string
|
# must change corresponding test string
|
||||||
test('int', "int(x[, base]) -> integer")
|
test('int', "int(x=0) -> integer")
|
||||||
test('Int', Int.__doc__)
|
test('Int', Int.__doc__)
|
||||||
test('types.MethodType', "method(function, instance)")
|
test('types.MethodType', "method(function, instance)")
|
||||||
test('list', "list() -> new empty list")
|
test('list', "list() -> new empty list")
|
||||||
|
|
Loading…
Reference in New Issue