'Tests getDescription() for a method with a docstring.'

@unittest.skipIf((sys.flags.optimize >= 2), 'Docstrings    are    omitted    with    -O2    and    above')
def testGetDescriptionWithOneLineDocstring(self):

    result = unittest.TextTestResult(None, True, 1)
    self.assertEqual(result.getDescription(self), (('testGetDescriptionWithOneLineDocstring    (' + __name__) + '.Test_TestResult)\nTests    getDescription()    for    a    method    with    a    docstring.'))
