def assertIsInstance(self, obj, cls):
        assert isinstance(obj, cls), \
            "Object %s is not an instance of class %s"%(str(obj), str(cls))
dataset/ETHPy150Open godaddy/Thespian/thespian/test/helpers.py/assertIsInstance/original