

def test_adding(self):
    unsafe = '<script type="application/x-some-script">alert("foo");</script>'
    safe = Markup('<em>username</em>')
    assert ((safe + safe) == (text_type(escape(unsafe)) + text_type(safe)))

dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/markupsafe/tests.py MarkupTestCase.test_adding/VarMisuse@24/54 `unsafe`->`safe`