Debian Codegraph @

Lib/test/test_doctest/test_doctest_errors.txt

raw
1 This is a sample doctest in a text file, in which all examples fail
2 or raise an exception.
3
4 >>> 2 + 2
5 5
6 >>> 1/0
7 1
8 >>> def f():
9 ... 2 + '2'
10 ...
11 >>> f()
12 1
13 >>> 2+*3
14 5