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)
def unittest_main():
def test_main():
run_unittest(MakeParserTest,
SaxutilsTest,
XmlgenTest,
@ -693,4 +693,4 @@ def unittest_main():
XmlReaderTest)
if __name__ == "__main__":
unittest_main()
test_main()