2008-05-08 11:29:10 -03:00
|
|
|
"""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.
|
|
|
|
"""
|
|
|
|
|
2010-11-29 23:03:30 -04:00
|
|
|
from test import json_tests
|
2008-05-20 18:35:26 -03:00
|
|
|
import test.support
|
2008-05-08 11:29:10 -03:00
|
|
|
|
|
|
|
|
|
|
|
def test_main():
|
2010-11-29 23:03:30 -04:00
|
|
|
test.support.run_unittest(json_tests.test_suite())
|
2008-05-08 11:29:10 -03:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
test_main()
|