diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-08-06 22:02:59 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-08-06 22:02:59 +0000 |
commit | ad66e6e37d0e511ec11883d8e33b0be761b614d0 (patch) | |
tree | 61d5f9c90c3f5aa0dda316418da75f7d2acd39e5 /Lib/test/test_doctest2.txt | |
parent | 980cd1c70d6fb0c8a8733b2de467b854d67e260b (diff) | |
download | cpython-ad66e6e37d0e511ec11883d8e33b0be761b614d0.tar.gz |
Merging from tim-doctest-branch, which is now closed.
This primarily adds more powerful ways to work with unittest, including
spiffy support for building suites out of doctests in non-Python
"text files".
Diffstat (limited to 'Lib/test/test_doctest2.txt')
-rw-r--r-- | Lib/test/test_doctest2.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/test_doctest2.txt b/Lib/test/test_doctest2.txt new file mode 100644 index 0000000000..0d7d1d59c1 --- /dev/null +++ b/Lib/test/test_doctest2.txt @@ -0,0 +1,7 @@ +This is a sample doctest in a text file. + +In this example, we'll rely on some silly setup: + + >>> import test.test_doctest + >>> test.test_doctest.sillySetup + True |