Name the main method correctly so the test is run

This commit is contained in:
Neal Norwitz 2008-03-28 07:36:31 +00:00
parent 70cea58c84
commit ab364c4366
1 changed files with 2 additions and 2 deletions

View File

@ -684,7 +684,7 @@ class XmlReaderTest(XmlTestBase):
self.assertRaises(SAXParseException, parser.parse, sio) self.assertRaises(SAXParseException, parser.parse, sio)
def unittest_main(): def test_main():
run_unittest(MakeParserTest, run_unittest(MakeParserTest,
SaxutilsTest, SaxutilsTest,
XmlgenTest, XmlgenTest,
@ -693,4 +693,4 @@ def unittest_main():
XmlReaderTest) XmlReaderTest)
if __name__ == "__main__": if __name__ == "__main__":
unittest_main() test_main()