

def test_type_behavior(self):
    assert (type((Markup('foo') + 'bar')) is Markup)
    x = Markup('foo')
    assert (x.__html__() is x)

dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/markupsafe/tests.py MarkupTestCase.test_type_behavior/original