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