suites.append('README.txt') |
suites.append('README.txt') |
if sys.version>='2.5': |
if sys.version>='2.5': |
suites.append('Contextual.txt') |
suites.append('Contextual.txt') |
#XXX suites.append('context.txt') |
|
|
|
suites.append('context_tests.txt') |
suites.append('context_tests.txt') |
|
|
if hasattr(__future__,'with_statement'): |
if hasattr(__future__,'with_statement'): |
globs['with_statement'] = __future__.with_statement |
globs['with_statement'] = __future__.with_statement |
return doctest.DocFileSuite( |
return doctest.DocFileSuite( |
#'README.txt', 'Contextual.txt', 'context.txt', 'context_tests.txt', |
|
optionflags=doctest.ELLIPSIS|doctest.REPORT_ONLY_FIRST_FAILURE, |
optionflags=doctest.ELLIPSIS|doctest.REPORT_ONLY_FIRST_FAILURE, |
globs=globs, *suites |
globs=globs, *suites |
) |
) |