def test_name_doc():
    @deprecated
    def some_func():
        """docstring here"""
        pass

    assert some_func.__name__ == 'some_func'
    assert 'docstring here' in some_func.__doc__
dataset/ETHPy150Open getlogbook/logbook/tests/test_utils.py/test_name_doc/original