def test_reify_class():
    class A:
        @helpers.reify
        def prop(self):
            """Docstring."""
            return 1

    assert isinstance(A.prop, helpers.reify)
    assert 'Docstring.' == A.prop.__doc__
dataset/ETHPy150Open KeepSafe/aiohttp/tests/test_helpers.py/test_reify_class/original