changeset 1 | 2fb8b9db1c86 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/symbian-qemu-0.9.1-12/python-2.6.1/Lib/test/test_doctest.txt Fri Jul 31 15:01:17 2009 +0100 @@ -0,0 +1,17 @@ +This is a sample doctest in a text file. + +In this example, we'll rely on a global variable being set for us +already: + + >>> favorite_color + 'blue' + +We can make this fail by disabling the blank-line feature. + + >>> if 1: + ... print 'a' + ... print + ... print 'b' + a + <BLANKLINE> + b