Add the examples in the json module docstring as a doctest
This commit is contained in:
parent
6192df10b6
commit
5f9050a1c6
|
@ -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__":
|
||||||
|
|
Loading…
Reference in New Issue