Lib/test/test_doctest/test_doctest2.txt
raw| 1 | This is a sample doctest in a text file. |
| 2 | |
| 3 | In this example, we'll rely on some silly setup: |
| 4 | |
| 5 | >>> import test.test_doctest.test_doctest |
| 6 | >>> test.test_doctest.test_doctest.sillySetup |
| 7 | True |
| 8 | |
| 9 | This test also has some (random) encoded (utf-8) unicode text: |
| 10 | |
| 11 | ÐÐÐÐÐ |
| 12 | |
| 13 | This doesn't cause a problem in the tect surrounding the examples, but |
| 14 | we include it here (in this test text file) to make sure. :) |