コード例 #1
0
ファイル: test_compilerop.py プロジェクト: deep-jkl/ipython
def test_code_name2():
    code = 'x=1'
    name = compilerop.code_name(code, 9)
    assert name.startswith("<ipython-input-9")
コード例 #2
0
def test_code_name2():
    code = 'x=1'
    name = compilerop.code_name(code, 9)
    nt.assert_true(name.startswith('<ipython-input-9'))
コード例 #3
0
def test_code_name2():
    code = 'x=1'
    name = compilerop.code_name(code, 9)
    nt.assert_true(name.startswith('<ipython-input-9'))
コード例 #4
0
ファイル: test_compilerop.py プロジェクト: terrdavis/ipython
def test_code_name2():
    code = "x=1"
    name = compilerop.code_name(code, 9)
    nt.assert_true(name.startswith("<ipython-input-9"))