コード例 #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
ファイル: test_tools.py プロジェクト: BlaXpirit/xonsh
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"])