def test_docstringIsMerged(self):

        def foo():
            """
            This is foo.
            """

        def bar():
            """
            This is bar.
            """

        baz = util.mergeFunctionMetadata(foo, bar)
        self.assertEqual(baz.__doc__, foo.__doc__)
Merging C{foo} into C{bar} returns a function with C{foo}'s docstring.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_util.py/TestMergeFunctionMetadata.test_docstringIsMerged