def __init__(self, pred, table=None):
        """

        :param pred:
        :param table:
        :return:
        """

        self.pred = pred

        try:
            self.table = table.name
        except AttributeError:
            self.table = table

        self._check = False

        self.skipped = 0
        self.passed = 0
        self.ignored = 0
        self.env = None
        self.code = None
def __init__ ( self , pred , table = None ) : self . pred = pred try : self . table = table . name except AttributeError : self . table = table self . _check = False self . skipped = 0 self . passed = 0 self . ignored = 0 self . env = None self . code = None
:param pred:
        :param table:
        :return: