Add the examples in the json module docstring as a doctest

This commit is contained in:
Benjamin Peterson 2008-05-10 03:08:17 +00:00
parent 6192df10b6
commit 5f9050a1c6
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import test.test_support
def test_main(): def test_main():
test.test_support.run_unittest(json.tests.test_suite()) test.test_support.run_unittest(json.tests.test_suite())
test.test_support.run_doctest(json)
if __name__ == "__main__": if __name__ == "__main__":