예제 #1
0
def test_unesc():
    assert unesc('# comment') == 'comment'
    assert unesc('#comment') == 'comment'
    assert unesc('comment') == 'comment'
예제 #2
0
def test_unesc():
    assert unesc("# comment", "python") == "comment"
    assert unesc("#comment", "python") == "comment"
    assert unesc("comment", "python") == "comment"
예제 #3
0
def test_unesc():
    assert unesc('# comment', 'python') == 'comment'
    assert unesc('#comment', 'python') == 'comment'
    assert unesc('comment', 'python') == 'comment'