Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a6bc481

Browse filesBrowse files
author
Erlend E. Aasland
committed
Adjust idlelib tiptest
from Lib/idlelib/idle_test/test_calltip.py: The tests of builtins may break if inspect or the docstrings change, but a red buildbot is better than a user crash (as has happened). For a simple mismatch, change the expected output to the actual.
1 parent bdd1338 commit a6bc481
Copy full SHA for a6bc481

File tree

Expand file treeCollapse file tree

1 file changed

+1
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-4
lines changed

‎Lib/idlelib/idle_test/test_calltip.py

Copy file name to clipboardExpand all lines: Lib/idlelib/idle_test/test_calltip.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@ class SB: __call__ = None
8888
replacement repl. repl can be either a string or a callable;
8989
if a string, backslash escapes in it are processed. If it is
9090
a callable, it's passed the Match object and must return''')
91-
tiptest(p.sub, '''\
92-
(repl, string, count=0)
93-
Return the string obtained by replacing the leftmost \
94-
non-overlapping occurrences o...''')
91+
tiptest(p.sub, '(repl, string, count=0)')
9592

9693
def test_signature_wrap(self):
9794
if textwrap.TextWrapper.__doc__ is not None:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.