2008-05-08 14:29:10 +00: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.
|
|
|
|
"""
|
|
|
|
|
|
|
|
import json.tests
|
2008-05-20 21:35:26 +00:00
|
|
|
import test.support
|
2008-05-08 14:29:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
def test_main():
|
2008-05-20 21:35:26 +00:00
|
|
|
test.support.run_unittest(json.tests.test_suite())
|
2008-05-08 14:29:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
test_main()
|