'L{_getDeprecationDocstring} returns a note about the deprecation to go
into a docstring.'

def test_getDeprecationDocstring(self):

    version = Version('Twisted', 8, 0, 0)
    self.assertEqual('Deprecated    in    Twisted    8.0.0.', _getDeprecationDocstring(version, ''))
