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__)
Verify MLT with the foo field while filtering on tag.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_util.py/TestMergeFunctionMetadata.test_moduleIsMerged--crossover with--dataset/ETHPy150Open mozilla/elasticutils/elasticutils/tests/test_mlt.py/MoreLikeThisTest.test_mlt_on_foo_with_filter