コード例 #1
0
def test_safe_encode():
    a = '\xc3\xa9lg'
    out = safe_encode(a)
    yield assert_equal, out.value, a
コード例 #2
0
ファイル: test_provenance.py プロジェクト: Conxz/nipype
def test_safe_encode():
    a = '\xc3\xa9lg'
    out = safe_encode(a)
    yield assert_equal, out.value, a
コード例 #3
0
def test_safe_encode():
    a = "\xc3\xa9lg"
    out = safe_encode(a)
    assert out.value == a
コード例 #4
0
ファイル: test_provenance.py プロジェクト: LJWilliams/nipype
def test_safe_encode():
    a = '\xc3\xa9lg'
    out = safe_encode(a)
    assert out.value == a