##// END OF EJS Templates
add missing parentheses on formerly excluded doctest example
MinRK -
Show More
@@ -1,24 +1,24 b''
1 1 =====================================
2 2 Tests in example form - pure python
3 3 =====================================
4 4
5 5 This file contains doctest examples embedded as code blocks, using normal
6 6 Python prompts. See the accompanying file for similar examples using IPython
7 7 prompts (you can't mix both types within one file). The following will be run
8 8 as a test::
9 9
10 10 >>> 1+1
11 11 2
12 >>> print "hello"
12 >>> print ("hello")
13 13 hello
14 14
15 15 More than one example works::
16 16
17 17 >>> s="Hello World"
18 18
19 19 >>> s.upper()
20 20 'HELLO WORLD'
21 21
22 22 but you should note that the *entire* test file is considered to be a single
23 23 test. Individual code blocks that fail are printed separately as ``example
24 24 failures``, but the whole file is still counted and reported as one test.
General Comments 0
You need to be logged in to leave comments. Login now