Skip to content
Merged
Prev Previous commit
Next Next commit
Revert "Adjust idlelib tiptest"
This reverts commit a6bc481.
  • Loading branch information
Erlend E. Aasland
Erlend E. Aasland committed Nov 19, 2020
commit 2fd3bd188a94bc123d9244711b04f6636d592699
5 changes: 4 additions & 1 deletion Lib/idlelib/idle_test/test_calltip.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ class SB: __call__ = None
replacement repl. repl can be either a string or a callable;
if a string, backslash escapes in it are processed. If it is
a callable, it's passed the Match object and must return''')
tiptest(p.sub, '(repl, string, count=0)')
tiptest(p.sub, '''\
(repl, string, count=0)
Return the string obtained by replacing the leftmost \
non-overlapping occurrences o...''')

def test_signature_wrap(self):
if textwrap.TextWrapper.__doc__ is not None:
Expand Down