예제 #1
0
파일: test_core.py 프로젝트: JNRowe/toolz
def test_isiterable():
    assert isiterable([1, 2, 3]) == True
    assert isiterable('abc') == True
    assert isiterable(5) == False
예제 #2
0
파일: test_core.py 프로젝트: joyrexus/toolz
def test_isiterable():
    assert isiterable([1, 2, 3]) is True
    assert isiterable("abc") is True
    assert isiterable(5) is False
예제 #3
0
def test_isiterable():
    assert isiterable([1, 2, 3]) is True
    assert isiterable('abc') is True
    assert isiterable(5) is False