]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove duplicate test method.
authorGeorg Brandl <georg@python.org>
Sat, 6 Feb 2010 23:12:19 +0000 (23:12 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 6 Feb 2010 23:12:19 +0000 (23:12 +0000)
Lib/test/test_sgmllib.py

index 081e0e17fc95e4d3a27f3140fd537e51a9381f4d..c18bcc337d59a92fc7b5143498c6cb220960c292 100644 (file)
@@ -298,14 +298,6 @@ DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN'
             ("starttag", "a", [("href", "http://[1080::8:800:200C:417A]/")]),
             ])
 
-    def test_illegal_declarations(self):
-        s = 'abc<!spacer type="block" height="25">def'
-        self.check_events(s, [
-            ("data", "abc"),
-            ("unknown decl", 'spacer type="block" height="25"'),
-            ("data", "def"),
-            ])
-
     def test_weird_starttags(self):
         self.check_events("<a<a>", [
             ("starttag", "a", []),