diff --git a/Lib/test/test_sgmllib.py b/Lib/test/test_sgmllib.py index f6f13093535..90ed87ee82e 100644 --- a/Lib/test/test_sgmllib.py +++ b/Lib/test/test_sgmllib.py @@ -262,6 +262,12 @@ DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN' ("data", "def"), ]) + def test_enumerated_attr_type(self): + s = "]>" + self.check_events(s, [ + ('decl', 'DOCTYPE doc []'), + ]) + # 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