[Lxml-checkins] r42242 - lxml/trunk/src/lxml/tests

scoder at codespeak.net scoder at codespeak.net
Sun Apr 22 20:43:12 CEST 2007


Author: scoder
Date: Sun Apr 22 20:43:11 2007
New Revision: 42242

Modified:
   lxml/trunk/src/lxml/tests/test_xslt.py
Log:
libxslt 1.1.20 also seems to not raise an error when parameters are missing

Modified: lxml/trunk/src/lxml/tests/test_xslt.py
==============================================================================
--- lxml/trunk/src/lxml/tests/test_xslt.py	(original)
+++ lxml/trunk/src/lxml/tests/test_xslt.py	Sun Apr 22 20:43:11 2007
@@ -223,7 +223,7 @@
 
     def test_xslt_parameter_missing(self):
         # DISABLED - NOT RELIABLE!
-        if etree.LIBXSLT_VERSION >= (1,1,18) and etree.LIBXSLT_VERSION < (1,1,20):
+        if etree.LIBXSLT_VERSION >= (1,1,18):
             return # no error from libxslt?
         # apply() without needed parameter will lead to XSLTApplyError
         tree = self.parse('<a><b>B</b><c>C</c></a>')


More information about the lxml-checkins mailing list