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.
("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