def test_invalid_non_callable_attribute_decoration(self):
        msg = (
            "Cannot decorate 'prop' as it isn't a callable attribute of "
            "<class 'Test'> (1)"
        )
        with self.assertRaisesMessage(TypeError, msg):
            @method_decorator(lambda: None, name="prop")
            class Test(object):
                prop = 1

                @classmethod
                def __module__(cls):
                    return "tests"
Work on production environment
dataset/ETHPy150Open django/django/tests/decorators/tests.py/MethodDecoratorTests.test_invalid_non_callable_attribute_decoration--crossover with--dataset/ETHPy150Open ireapps/census/censusweb/fabfile.py/production