Skip to content

Commit

Permalink
fix test_doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Jul 4, 2023
1 parent 50000c1 commit 4e0d7c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/test/test_doctest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1287,14 +1287,14 @@ def optionflags(): r"""
treated as equal:
>>> def f(x):
... '>>> print(1, 2, 3)\n 1 2\n 3'
... '\n>>> print(1, 2, 3)\n 1 2\n 3'
>>> # Without the flag:
>>> test = doctest.DocTestFinder().find(f)[0]
>>> doctest.DocTestRunner(verbose=False).run(test)
... # doctest: +ELLIPSIS
**********************************************************************
File ..., line 2, in f
File ..., line 3, in f
Failed example:
print(1, 2, 3)
Expected:
Expand Down

0 comments on commit 4e0d7c0

Please sign in to comment.