summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_doctest2.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_doctest2.txt')
-rw-r--r--Lib/test/test_doctest2.txt7
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 0000000..0d7d1d5
--- /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