diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2008-03-28 07:36:31 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2008-03-28 07:36:31 (GMT) |
commit | ab364c4366d6283f9323ede7e1db970adf77f88c (patch) | |
tree | 4d6054615c880ff813c8ba297bfadb266b4bd2e4 /Lib | |
parent | 70cea58c84165460683b12e60331b4a90550e313 (diff) | |
download | cpython-ab364c4366d6283f9323ede7e1db970adf77f88c.zip cpython-ab364c4366d6283f9323ede7e1db970adf77f88c.tar.gz cpython-ab364c4366d6283f9323ede7e1db970adf77f88c.tar.bz2 |
Name the main method correctly so the test is run
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_sax.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_sax.py b/Lib/test/test_sax.py index bfdd713..c582985 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() |