From ad66e6e37d0e511ec11883d8e33b0be761b614d0 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Fri, 6 Aug 2004 22:02:59 +0000 Subject: 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". --- Lib/test/test_doctest2.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Lib/test/test_doctest2.txt (limited to 'Lib/test/test_doctest2.txt') 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 -- cgit v1.2.1