'Merging C{foo} into C{bar} returns a function with C{foo}\'s docstring.'

def test_docstringIsMerged(self):

    def foo():
        '\n                                                This    is    foo.\n                                                '
    def bar():
        '\n                                                This    is    bar.\n                                                '
    baz = util.mergeFunctionMetadata(foo, bar)
    self.assertEqual(baz.__doc__, foo.__doc__)
