def test_is_callable_true(): assert is_callable(lambda: 42.0)
def test_is_callable_false(): assert not is_callable(42.0)
def test_is_callable(): assert is_callable(lambda: 42.0) assert not is_callable(42.0)
def test_is_callable(): yield assert_true, is_callable(lambda: 42.0) yield assert_false, is_callable(42.0)