diff options
Diffstat (limited to 'Lib/doctest.py')
-rw-r--r-- | Lib/doctest.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/doctest.py b/Lib/doctest.py index 6e6661d131..25b14ca8e5 100644 --- a/Lib/doctest.py +++ b/Lib/doctest.py @@ -398,10 +398,6 @@ def _ellipsis_match(want, got): """ if ELLIPSIS_MARKER not in want: return want == got - # Remove \n from ...\n, else the newline will be required, - # and (for example) ... on a line by itself can't match - # nothing gracefully. - want = want.replace(ELLIPSIS_MARKER + '\n', ELLIPSIS_MARKER) # Find "the real" strings. ws = want.split(ELLIPSIS_MARKER) |