test_json.py 327 B

1234567891011121314151617
  1. """Tests for json.
  2. The tests for json are defined in the json.tests package;
  3. the test_suite() function there returns a test suite that's ready to
  4. be run.
  5. """
  6. import json.tests
  7. import test.test_support
  8. def test_main():
  9. test.test_support.run_unittest(json.tests.test_suite())
  10. if __name__ == "__main__":
  11. test_main()