Exemple #1
0
def test_check_numeric_exception(value, exception_type):
    with pytest.raises(exception_type):
        check_numeric(value)
Exemple #2
0
def test_check_numeric(actual, expected):
    assert check_numeric(actual) == expected