[Lxml-checkins] r51071 - in lxml/trunk: . src/lxml/html/tests

scoder at codespeak.net scoder at codespeak.net
Sat Jan 26 17:44:38 CET 2008


Author: scoder
Date: Sat Jan 26 17:44:34 2008
New Revision: 51071

Modified:
   lxml/trunk/   (props changed)
   lxml/trunk/src/lxml/html/tests/test_clean.py
Log:
 r3336 at delle:  sbehnel | 2008-01-26 17:44:10 +0100
 get rid of test failures for older libxml2 versions


Modified: lxml/trunk/src/lxml/html/tests/test_clean.py
==============================================================================
--- lxml/trunk/src/lxml/html/tests/test_clean.py	(original)
+++ lxml/trunk/src/lxml/html/tests/test_clean.py	Sat Jan 26 17:44:34 2008
@@ -6,6 +6,6 @@
     suite = unittest.TestSuite()
     if sys.version_info >= (2,4):
         suite.addTests([doctest.DocFileSuite('test_clean.txt')])
-        if LIBXML_VERSION <= (2,6,28) or LIBXML_VERSION >= (2,6,31):
+        if LIBXML_VERSION >= (2,6,31):
             suite.addTests([doctest.DocFileSuite('test_clean_embed.txt')])
     return suite


More information about the lxml-checkins mailing list