| Tim Peters | 19397e5 | 2004-08-06 22:02:59 +0000 | [diff] [blame] | 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 | ||||
| 6 | >>> test.test_doctest.sillySetup | ||||
| 7 | True | ||||
| Jim Fulton | 7d42878 | 2004-10-13 14:15:32 +0000 | [diff] [blame] | 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. :) | ||||