From: Neal Norwitz Date: Fri, 28 Mar 2008 07:36:31 +0000 (+0000) Subject: Name the main method correctly so the test is run X-Git-Tag: v2.6a2~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab364c4366d6283f9323ede7e1db970adf77f88c;p=python Name the main method correctly so the test is run --- diff --git a/Lib/test/test_sax.py b/Lib/test/test_sax.py index bfdd713e88..c5829852f1 100644 --- a/Lib/test/test_sax.py +++ b/Lib/test/test_sax.py @@ -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()