Name the main method correctly so the test is run
This commit is contained in:
parent
70cea58c84
commit
ab364c4366
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue