def test_getDeprecationWarningStringWithFormat(self):
        version = Version('Twisted', 8, 0, 0)
        format = deprecate.DEPRECATION_WARNING_FORMAT + ': This is a message'
        self.assertEqual(
            getDeprecationWarningString(self.test_getDeprecationWarningString,
                                        version, format),
            'twisted.python.test.test_deprecate.TestDeprecationWarnings.'
            'test_getDeprecationWarningString was deprecated in '
            'Twisted 8.0.0: This is a message')
L{getDeprecationWarningString} returns a string that tells us that a
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_deprecate.py/TestDeprecationWarnings.test_getDeprecationWarningStringWithFormat