[Checkins] SVN: z3c.ptcompat/trunk/src/z3c/ptcompat/testing.py Fix the NameError.
Dan Korostelev
nadako at gmail.com
Mon Feb 9 23:04:24 EST 2009
Log message for revision 96368:
Fix the NameError.
Changed:
U z3c.ptcompat/trunk/src/z3c/ptcompat/testing.py
-=-
Modified: z3c.ptcompat/trunk/src/z3c/ptcompat/testing.py
===================================================================
--- z3c.ptcompat/trunk/src/z3c/ptcompat/testing.py 2009-02-10 03:57:24 UTC (rev 96367)
+++ z3c.ptcompat/trunk/src/z3c/ptcompat/testing.py 2009-02-10 04:04:23 UTC (rev 96368)
@@ -50,7 +50,7 @@
parser = lxml.etree.XML
elif (want.strip().lower().startswith('<html')
and got.strip().startswith('<html')):
- parser = html_fromstring
+ parser = lxml.doctestcompare.html_fromstring
elif (self._looks_like_markup(want)
and self._looks_like_markup(got)):
parser = self.get_default_parser()
More information about the Checkins
mailing list