diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-05-10 03:08:17 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-05-10 03:08:17 (GMT) |
commit | 5f9050a1c63a052067bf946bedc6d106c66bd9b2 (patch) | |
tree | b7e456f9701ed311b4ce98f6414a91b0966c226c /Lib | |
parent | 6192df10b6c5d157735feefc591e90a61c4000c0 (diff) | |
download | cpython-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.py | 1 |
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__": |