We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 469b3f7 commit 6fc4456Copy full SHA for 6fc4456
Lib/test/test_doctest.py
@@ -1287,14 +1287,14 @@ def optionflags(): r"""
1287
treated as equal:
1288
1289
>>> def f(x):
1290
- ... '>>> print(1, 2, 3)\n 1 2\n 3'
+ ... '\n>>> print(1, 2, 3)\n 1 2\n 3'
1291
1292
>>> # Without the flag:
1293
>>> test = doctest.DocTestFinder().find(f)[0]
1294
>>> doctest.DocTestRunner(verbose=False).run(test)
1295
... # doctest: +ELLIPSIS
1296
**********************************************************************
1297
- File ..., line 2, in f
+ File ..., line 3, in f
1298
Failed example:
1299
print(1, 2, 3)
1300
Expected:
0 commit comments