示例#1
0
def test_pow():
    assert get_len_help_text(pow) == 278
示例#2
0
def test_another_bad_input():
    with pytest.raises(ValueError):
        get_len_help_text("string")
示例#3
0
def test_max():
    assert get_len_help_text(max) == 402
示例#4
0
def test_bad_input():
    max1 = object()
    with pytest.raises(ValueError):
        get_len_help_text(max1)
示例#5
0
def test_pow():
    # py 3.7 / 3.8 difference
    assert get_len_help_text(pow) in (278, 284)