4 def additional_tests():
6 import simplejson.encoder
7 import simplejson.decoder
8 suite = unittest.TestSuite()
9 for mod in (simplejson, simplejson.encoder, simplejson.decoder):
10 suite.addTest(doctest.DocTestSuite(mod))
11 suite.addTest(doctest.DocFileSuite('../../index.rst'))
15 suite = additional_tests()
16 runner = unittest.TextTestRunner()
19 if __name__ == '__main__':
22 sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))