/Lib/test/test_doctest2.txt

http://unladen-swallow.googlecode.com/ · Plain Text · 14 lines · 9 code · 5 blank · 0 comment · 0 complexity · d8629f12fc6c7c4ec5997576e40d2e94 MD5 · raw file

  1. This is a sample doctest in a text file.
  2. In this example, we'll rely on some silly setup:
  3. >>> import test.test_doctest
  4. >>> test.test_doctest.sillySetup
  5. True
  6. This test also has some (random) encoded (utf-8) unicode text:
  7. ЉЊЈЁЂ
  8. This doesn't cause a problem in the tect surrounding the examples, but
  9. we include it here (in this test text file) to make sure. :)