def METHOD_NAME():
    # See the long history of this in issues sympy/sympy#5026 and sympy/sympy#5105.
    pytest.raises(TypeError, lambda: sin(x)({x: 1, sin(x): 2}))
    pytest.raises(TypeError, lambda: sin(x)(1))