Python code coverage for Lib/test/test_json.py
| # | count | content |
|---|---|---|
| 1 | n/a | """Tests for json. |
| 2 | n/a | |
| 3 | n/a | The tests for json are defined in the json.tests package; |
| 4 | n/a | the test_suite() function there returns a test suite that's ready to |
| 5 | n/a | be run. |
| 6 | n/a | """ |
| 7 | n/a | |
| 8 | n/a | from test import json_tests |
| 9 | n/a | import test.support |
| 10 | n/a | |
| 11 | n/a | |
| 12 | n/a | def test_main(): |
| 13 | n/a | test.support.run_unittest(json_tests.test_suite()) |
| 14 | n/a | |
| 15 | n/a | |
| 16 | n/a | if __name__ == "__main__": |
| 17 | n/a | test_main() |
