Here are the examples of the python api twisted.trial.runner.DocTestSuite taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Example 1
Project: mythbox Source File: test_doctest.py
def makeDocSuite(self, module):
"""
Return a L{runner.DocTestSuite} for the doctests in C{module}.
"""
return self.assertWarns(
DeprecationWarning, "DocTestSuite is deprecated in Twisted 8.0.",
__file__, lambda: runner.DocTestSuite(mockdoctest))