Kaydet (Commit) 04d9a80f authored tarafından Fred Drake's avatar Fred Drake

Add regression test for a bug found in the version of the markupbase

module used in the Zope TAL implementation.  The bug was already fixed
in the Python standard library, but the regression test would be good
to keep around.
üst 6b3db551
......@@ -262,6 +262,12 @@ DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN'
("data", "def"),
])
def test_enumerated_attr_type(self):
s = "<!DOCTYPE doc [<!ATTLIST doc attr (a | b) >]>"
self.check_events(s, [
('decl', 'DOCTYPE doc [<!ATTLIST doc attr (a | b) >]'),
])
# XXX These tests have been disabled by prefixing their names with
# an underscore. The first two exercise outstanding bugs in the
# sgmllib module, and the third exhibits questionable behavior
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment