From: Benjamin Peterson Date: Sat, 10 May 2008 03:08:17 +0000 (+0000) Subject: Add the examples in the json module docstring as a doctest X-Git-Tag: v2.6b1~537 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f9050a1c63a052067bf946bedc6d106c66bd9b2;p=thirdparty%2FPython%2Fcpython.git Add the examples in the json module docstring as a doctest --- diff --git a/Lib/test/test_json.py b/Lib/test/test_json.py index 7b8f3de8a981..17ccdeecc45a 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__":