def DocFileSuite(*paths, **kw):
 suite = unittest.TestSuite()
 if kw.get('module_relative', True):
  kw['package'] = _normalize_module(kw.get('package'))
 for path in paths:
  suite.addTest(DocFileTest(path, **kw))
 return suite

def DocFileSuite ( * paths , ** kw ) : suite = unittest . TestSuite ( ) if kw . get ( 'module_relative' , True ) : kw [ 'package' ] = _normalize_module ( kw . get ( 'package' ) ) for path in paths : suite . addTest ( DocFileTest ( path , ** kw ) ) return suite
a unittest suite for one or more doctest files .