def test_for_distinct_code_objects(self):

    def f():
        f1 = (lambda x=1: x)
        f2 = (lambda x=2: x)
        return (f1, f2)
    (f1, f2) = f()
    self.assertNotEqual(id(f1.__code__), id(f2.__code__))
def test_for_distinct_code_objects(self):

    def f():
        f1 = (lambda x=1: x)
        f2 = (lambda x=2: x)
        return (f1, f2)
    (f1, f2) = f()
    self.assertNotEqual(id(f1.__code__), id(f2.__code__))