def test_stringExceptionConstruction(self):
    '\n        Constructing a C{Failure} with a string as its exception value raises\n        a C{TypeError}, as this is no longer supported as of Python 2.6.\n        '
    exc = self.assertRaises(TypeError, failure.Failure, 'ono!')
    self.assertIn('Strings are not supported by Failure', str(exc))
Constructing a C{Failure} with a string as its exception value raises
a C{TypeError}, as this is no longer supported as of Python 2.6.
def test_stringExceptionConstruction(self):
    '\n        Constructing a C{Failure} with a string as its exception value raises\n        a C{TypeError}, as this is no longer supported as of Python 2.6.\n        '
    exc = self.assertRaises(TypeError, failure.Failure, 'ono!')
    self.assertIn('Strings are not supported by Failure', str(exc))