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
     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      suite.addTests([doctest.DocFileSuite('test_clean.txt')])
     8      if LIBXML_VERSION <= (2,6,28):
     9          suite.addTests([doctest.DocFileSuite('test_clean_embed.txt')])
    10      return suite
    11