示例#1
0
def test_istext(value, expected):
    assert istext(value) == expected
示例#2
0
def test_is_text():
    assert istext('a')
    assert not istext(1)
    assert not istext(None)
示例#3
0
def test_istext(value, expected):
    assert istext(value) == expected