def test_type_behavior(self):
        # an escaped object is markup too
        assert type(Markup('foo') + 'bar') is Markup

        # and it implements __html__ by returning itself
        x = Markup("foo")
        assert x.__html__() == x
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/markupsafe/tests.py/MarkupTestCase.test_type_behavior/operator `is` -> `==`