changeset 0 | ae805ac0140d |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-2.5.2/win32/Lib/test/test_doctest.txt Fri Apr 03 17:19:34 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