Home | Trees | Indices | Help |
|
---|
|
1 import unittest, sys 2 from lxml.tests.common_imports import doctest 3 4 try: 5 import BeautifulSoup 6 BS_INSTALLED = True 7 except ImportError: 8 BS_INSTALLED = False 9 1012 suite = unittest.TestSuite() 13 if sys.version_info >= (2,4): 14 if BS_INSTALLED: 15 suite.addTests([doctest.DocFileSuite('../../../../doc/elementsoup.txt')]) 16 return suite17 18 if __name__ == '__main__': 19 unittest.main() 20
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Tue Feb 5 20:24:52 2008 | http://epydoc.sourceforge.net |