summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-06 23:12:19 (GMT)
committerGeorg Brandl <georg@python.org>2010-02-06 23:12:19 (GMT)
commit1a0ffe168af3e3e9ab692435ea1d3362329c5a2b (patch)
tree386716396b799b700e268fcb9886de84e319d0bc /Lib/test
parentd1fa76e742ef706a9f9f41804e7800827040deb2 (diff)
downloadcpython-1a0ffe168af3e3e9ab692435ea1d3362329c5a2b.zip
cpython-1a0ffe168af3e3e9ab692435ea1d3362329c5a2b.tar.gz
cpython-1a0ffe168af3e3e9ab692435ea1d3362329c5a2b.tar.bz2
Remove duplicate test method.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_sgmllib.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/test_sgmllib.py b/Lib/test/test_sgmllib.py
index 081e0e1..c18bcc3 100644
--- a/Lib/test/test_sgmllib.py
+++ b/Lib/test/test_sgmllib.py
@@ -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", []),