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

def test_moduleIsMerged(self):

    def foo():
        pass
    def bar():
        pass
    bar.__module__ = 'somewhere.else'
    baz = util.mergeFunctionMetadata(foo, bar)
    self.assertEqual(baz.__module__, foo.__module__)
