summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_htmlparser.py
Commit message (Collapse)AuthorAgeFilesLines
* HTMLParser is allowed to be more strict than sgmllib, so let's notFred Drake2001-09-041-6/+1
| | | | | change their basic behavior: When parsing something that cannot possibly be valid in either HTML or XHTML, raise an exception.
* Enhanced the test for DOCTYPE declarations, added a test for dealing withFred Drake2001-09-041-14/+23
| | | | broken declaration-like things.
* Deal more appropriately with bare ampersands and pointy brackets; thisFred Drake2001-08-201-7/+27
| | | | | | | | module has to deal with "class" HTML-as-deployed as well as XHTML, so we cannot be as strict as XHTML allows. This closes SF bug #453059, but uses a different fix than suggested in the bug comments.
* Fix stupid bug: when migrating these tests from the Zope repository, theFred Drake2001-08-031-14/+20
| | | | | | | | | names of the test methods were not changed from the Zope-standard "check" names to the Python-standard "test_" names, so the tests were not actually being run. Added test of hexadecimal character references as a regression check for SF bug #445196.
* Remove a duplicate test.Fred Drake2001-07-161-1/+0
|
* Added test suite for the new HTMLParser module, originally from theFred Drake2001-05-181-0/+254
TAL/PageTemplate package for Zope. This only needed a little boilerplate change; the tests themselves are unchanged.