summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-11-02 15:49:08 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-11-02 15:49:08 (GMT)
commit5028f4d461fb0dbbfe7f0a952021af28b596d6af (patch)
tree9eb0c584606aa636bd5717cdfa0a9ff7cdaeb384 /Lib/test
parent007c0477f5794a7955e5f7483a819b310f0120fb (diff)
downloadcpython-5028f4d461fb0dbbfe7f0a952021af28b596d6af.zip
cpython-5028f4d461fb0dbbfe7f0a952021af28b596d6af.tar.gz
cpython-5028f4d461fb0dbbfe7f0a952021af28b596d6af.tar.bz2
Use unittest.main() in test_htmlparser.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_htmlparser.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/Lib/test/test_htmlparser.py b/Lib/test/test_htmlparser.py
index b15b6fd..e8b8857 100644
--- a/Lib/test/test_htmlparser.py
+++ b/Lib/test/test_htmlparser.py
@@ -753,11 +753,5 @@ class AttributesTolerantTestCase(AttributesStrictTestCase):
("data", "spam"), ("endtag", "a")])
-
-def test_main():
- support.run_unittest(HTMLParserStrictTestCase, HTMLParserTolerantTestCase,
- AttributesStrictTestCase, AttributesTolerantTestCase)
-
-
if __name__ == "__main__":
- test_main()
+ unittest.main()