home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 July / maximum-cd-2011-07.iso / DiscContents / LibO_3.3.2_Win_x86_install_multi.exe / libreoffice1.cab / test_json.py < prev    next >
Encoding:
Python Source  |  2011-03-15  |  327 b   |  18 lines

  1. """Tests for json.
  2.  
  3. The tests for json are defined in the json.tests package;
  4. the test_suite() function there returns a test suite that's ready to
  5. be run.
  6. """
  7.  
  8. import json.tests
  9. import test.test_support
  10.  
  11.  
  12. def test_main():
  13.     test.test_support.run_unittest(json.tests.test_suite())
  14.  
  15.  
  16. if __name__ == "__main__":
  17.     test_main()
  18.