def test_parse_name(): assert parse_name(lambda x: x) == '<lambda>' assert parse_name(undecorated_func) == 'undecorated_func' assert parse_name(demo_func) == 'demo_func' assert parse_name(demo_class.demo_method) == 'demo_method'
def test_parse_name(): assert parse_name(lambda x: x) == "<lambda>" assert parse_name(undecorated_func) == "undecorated_func" assert parse_name(demo_func) == "demo_func" assert parse_name(demo_class.demo_method) == "demo_method"