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

scoder at codespeak.net scoder at codespeak.net
Mon Oct 30 13:57:32 CET 2006


Author: scoder
Date: Mon Oct 30 13:57:31 2006
New Revision: 33877

Modified:
   lxml/trunk/src/lxml/tests/test_etree.py
Log:
print lxml version when running tests

Modified: lxml/trunk/src/lxml/tests/test_etree.py
==============================================================================
--- lxml/trunk/src/lxml/tests/test_etree.py	(original)
+++ lxml/trunk/src/lxml/tests/test_etree.py	Mon Oct 30 13:57:31 2006
@@ -13,6 +13,15 @@
 from common_imports import etree, StringIO, HelperTestCase, fileInTestDir
 from common_imports import SillyFileLike, canonicalize
 
+print
+print "TESTED VERSION:"
+print "    lxml.etree:       ", etree.LXML_VERSION
+print "    libxml used:      ", etree.LIBXML_VERSION
+print "    libxml compiled:  ", etree.LIBXML_COMPILED_VERSION
+print "    libxslt used:     ", etree.LIBXSLT_VERSION
+print "    libxslt compiled: ", etree.LIBXSLT_COMPILED_VERSION
+print
+
 class ETreeOnlyTestCase(HelperTestCase):
     """Tests only for etree, not ElementTree"""
     etree = etree


More information about the lxml-checkins mailing list