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

Source Code for Module lxml.html.tests.test_diff

 1  import unittest, sys 
 2  from lxml.tests.common_imports import doctest 
 3   
 4  from lxml.html import diff 
 5   
6 -def test_suite():
7 suite = unittest.TestSuite() 8 if sys.version_info >= (2,4): 9 suite.addTests([doctest.DocFileSuite('test_diff.txt'), 10 doctest.DocTestSuite(diff)]) 11 return suite
12 13 if __name__ == '__main__': 14 unittest.main() 15