human
I wrote the below code

    L = []
    def sideeffect(x):
        L.append(x)
        return x
    def unhashable_value(x):
        L.append(x)
        return set()
    try:
        s = {1, sideeffect(2), 3, unhashable_value(4), sideeffect(5)}
    except TypeError:
        pass
    else:
        assert False, 'expected    exception    not    raised'
    return L

What's a good function header?
assistant
#Here's a good function header.

def test_set_sideeffect_unhashable_failure_literal():