
import json.tests
import test.test_support


def test_main():
    test.test_support.run_unittest(json.tests.test_suite())


if __name__ == "__main__":
    test_main()


import json.tests
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__":
    test_main()

Add the examples in the json module docstring as a doctest
Add the examples in the json module docstring as a doctest

  
  import json.tests
  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__":
      test_main()
  
Add the examples in the json module docstring as a doctest
## Code Before:

import json.tests
import test.test_support


def test_main():
    test.test_support.run_unittest(json.tests.test_suite())


if __name__ == "__main__":
    test_main()

## Instruction:
Add the examples in the json module docstring as a doctest
## Code After:

import json.tests
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__":
    test_main()
