#NEWLINE# def load_doctests( loader , tests , ignore , module ) : #NEWLINE# #INDENT# 'Load the doctest tests for the specified module into unittest.' #NEWLINE# _patcher = Patcher ( ) #NEWLINE# globs = _patcher . replaceGlobs ( vars ( module ) ) #NEWLINE# tests . addTests ( doctest . DocTestSuite ( loader , globs = globs , setUp = _patcher . setUp , tearDown = _patcher . tearDown ) ) #NEWLINE# return tests