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