mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Name the main method correctly so the test is run
This commit is contained in:
parent
70cea58c84
commit
ab364c4366
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue