source:
trunk/essentials/dev-lang/python/Lib/test/test_doctest2.txt@
3951
| Last change on this file since 3951 was 3225, checked in by , 19 years ago | |
|---|---|
| File size: 392 bytes | |
| Line | |
|---|---|
| 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 |
| 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. :) |
Note:
See TracBrowser
for help on using the repository browser.
