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