Exemplo n.º 1
0
def test_is_bool_false(inp):
    assert not is_bool(inp)
Exemplo n.º 2
0
def test_is_bool():
    yield assert_equal, True, is_bool(True)
    yield assert_equal, True, is_bool(False)
    yield assert_equal, False, is_bool(1)
    yield assert_equal, False, is_bool('yooo hooo!')
Exemplo n.º 3
0
def test_is_bool():
    yield assert_equal, True, is_bool(True)
    yield assert_equal, True, is_bool(False)
    yield assert_equal, False, is_bool(1)
    yield assert_equal, False, is_bool('yooo hooo!')
Exemplo n.º 4
0
def test_is_bool_true(inp):
    assert is_bool(inp)
Exemplo n.º 5
0
def test_is_bool_false(inp):
    assert False == is_bool(inp)
Exemplo n.º 6
0
def test_is_bool_true(inp):
    assert True == is_bool(inp)
Exemplo n.º 7
0
def test_is_bool():
    assert True == is_bool(True)
    assert True == is_bool(False)
    assert False == is_bool(1)
    assert False == is_bool('yooo hooo!')
Exemplo n.º 8
0
def test_is_bool_false(inp):
    assert False == is_bool(inp)
Exemplo n.º 9
0
def test_is_bool_true(inp):
    assert True == is_bool(inp)