Exemplo n.º 1
0
def test_is_callable_true():
    assert is_callable(lambda: 42.0)
Exemplo n.º 2
0
def test_is_callable_false():
    assert not is_callable(42.0)
Exemplo n.º 3
0
def test_is_callable():
    assert is_callable(lambda: 42.0)
    assert not is_callable(42.0)
Exemplo n.º 4
0
def test_is_callable():
    yield assert_true, is_callable(lambda: 42.0)
    yield assert_false, is_callable(42.0)
Exemplo n.º 5
0
def test_is_callable_false():
    assert not is_callable(42.0)
Exemplo n.º 6
0
def test_is_callable_true():
    assert is_callable(lambda: 42.0)
Exemplo n.º 7
0
def test_is_callable():
    yield assert_true, is_callable(lambda: 42.0)
    yield assert_false, is_callable(42.0)