示例#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"])