Package lxml :: Package html :: Package tests :: Module test_clean
[hide private]
[frames] | no frames]

Source Code for Module lxml.html.tests.test_clean

 1  import unittest, sys 
 2  from lxml.tests.common_imports import doctest 
 3  from lxml.etree import LIBXML_VERSION 
 4   
5 -def test_suite():
6 suite = unittest.TestSuite() 7 if sys.version_info >= (2,4): 8 suite.addTests([doctest.DocFileSuite('test_clean.txt')]) 9 if LIBXML_VERSION >= (2,6,31): 10 suite.addTests([doctest.DocFileSuite('test_clean_embed.txt')]) 11 return suite
12