예제 #1
0
def test_is_nonstring_seq_of_strings_false():
    assert not is_nonstring_seq_of_strings([42.0])
예제 #2
0
def test_is_nonstring_seq_of_strings_false1(inp):
    assert not is_nonstring_seq_of_strings(inp)
예제 #3
0
def test_is_nonstring_seq_of_strings_true():
    assert is_nonstring_seq_of_strings(["42.0"])
예제 #4
0
def test_is_nonstring_seq_of_strings():
    assert not is_nonstring_seq_of_strings('42.0')
    assert is_nonstring_seq_of_strings(['42.0'])
    assert not is_nonstring_seq_of_strings([42.0])
예제 #5
0
파일: test_tools.py 프로젝트: mitnk/xonsh
def test_is_nonstring_seq_of_strings_false(inp):
    assert not is_nonstring_seq_of_strings(inp)
예제 #6
0
파일: test_tools.py 프로젝트: mitnk/xonsh
def test_is_nonstring_seq_of_strings_false():
    assert not is_nonstring_seq_of_strings([42.0])
예제 #7
0
파일: test_tools.py 프로젝트: mitnk/xonsh
def test_is_nonstring_seq_of_strings_true():
    assert is_nonstring_seq_of_strings(["42.0"])