[ZPT] CVS: Packages/TAL - test_htmlparser.py:1.13

guido@digicool.com guido@digicool.com
Mon, 9 Apr 2001 10:11:06 -0400 (EDT)


Update of /cvs-repository/Packages/TAL/test
In directory korak:/tmp/cvs-serv11951

Modified Files:
	test_htmlparser.py 
Log Message:
Make the cdata test more stringent, testing for a bug in the current
code.



--- Updated File test_htmlparser.py in package Packages/TAL --
--- test_htmlparser.py	2001/04/06 22:19:14	1.12
+++ test_htmlparser.py	2001/04/09 14:11:05	1.13
@@ -243,6 +243,7 @@
 
     def check_cdata_content(self):
         s = """<script> <!-- not a comment --> &not-an-entity-ref; </script>"""
+        s = list(s)
         self._run_check(s, [
             ("starttag", "script", []),
             ("data", " <!-- not a comment --> &not-an-entity-ref; "),