Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 5a29c5cc452e3fa52f48581094c7125d94d65cf6 authored by Benjamin Peterson on 23 May 2015, 16:02:14 UTC
python 2.7.10 final
Tip revision: 5a29c5c
test_json.py
"""Tests for json.

The tests for json are defined in the json.tests package;
the test_suite() function there returns a test suite that's ready to
be run.
"""

import json.tests
import test.test_support


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


if __name__ == "__main__":
    test_main()
back to top