[Python-checkins] python/dist/src/Lib/test test_htmlparser.py,1.10,1.11
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Thu, 17 Apr 2003 15:19:29 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv22425
Modified Files:
test_htmlparser.py
Log Message:
Add test that demonstrates SGML-style handling of processing
instructions.
Index: test_htmlparser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_htmlparser.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** test_htmlparser.py 14 Mar 2003 16:21:56 -0000 1.10
--- test_htmlparser.py 17 Apr 2003 22:19:26 -0000 1.11
***************
*** 102,105 ****
--- 102,108 ----
("pi", "processing instruction"),
])
+ self._run_check("<?processing instruction ?>", [
+ ("pi", "processing instruction ?"),
+ ])
def test_simple_html(self):