From 04d9a80fef4815891044a4b3c08fe0faa9cedbaa Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 25 Sep 2002 16:29:17 +0000 Subject: 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. --- Lib/test/test_sgmllib.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Lib/test/test_sgmllib.py b/Lib/test/test_sgmllib.py index f6f1309..90ed87e 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 -- cgit v0.12