summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-05-10 03:08:17 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-05-10 03:08:17 (GMT)
commit5f9050a1c63a052067bf946bedc6d106c66bd9b2 (patch)
treeb7e456f9701ed311b4ce98f6414a91b0966c226c /Lib
parent6192df10b6c5d157735feefc591e90a61c4000c0 (diff)
downloadcpython-5f9050a1c63a052067bf946bedc6d106c66bd9b2.zip
cpython-5f9050a1c63a052067bf946bedc6d106c66bd9b2.tar.gz
cpython-5f9050a1c63a052067bf946bedc6d106c66bd9b2.tar.bz2
Add the examples in the json module docstring as a doctest
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_json.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_json.py b/Lib/test/test_json.py
index 7b8f3de..17ccdee 100644
--- a/Lib/test/test_json.py
+++ b/Lib/test/test_json.py
@@ -11,6 +11,7 @@ import test.test_support
def test_main():
test.test_support.run_unittest(json.tests.test_suite())
+ test.test_support.run_doctest(json)
if __name__ == "__main__":