diff options
Diffstat (limited to 'Lib/test/test_xmllib.py')
-rw-r--r-- | Lib/test/test_xmllib.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/test/test_xmllib.py b/Lib/test/test_xmllib.py index a1c5057..9ea5042 100644 --- a/Lib/test/test_xmllib.py +++ b/Lib/test/test_xmllib.py @@ -27,4 +27,9 @@ class XMLParserTestCase(unittest.TestCase): parser.close() -test_support.run_unittest(XMLParserTestCase) +def test_main(): + test_support.run_unittest(XMLParserTestCase) + + +if __name__ == "__main__": + test_main() |