mordred/_base/descriptor.py
def rethrow_zerodiv(self):
        """[contextmanager] treat zero div as known exception."""
        with np.errstate(divide="raise", invalid="raise"):
            try:
                yield
            except (FloatingPointError, ZeroDivisionError) as e:
                self.fail(ZeroDivisionError(*e.args))
def rethrow_zerodiv(self):
        """[contextmanager] treat zero div as known exception."""
        with np.errstate(divide="raise", invalid="raise"):
            try:
                yield
            except (FloatingPointError, ZeroDivisionError) as e:
                self.fail(ZeroDivisionError(*e.args))
def rethrow_zerodiv ( self ) : with np . errstate ( divide = "raise" , invalid = "raise" ) : try : yield except ( FloatingPointError , ZeroDivisionError ) as e : self . fail ( ZeroDivisionError ( * e . args ) )
[contextmanager] treat zero div as known exception.
[ contextmanager ] treat zero div as known exception .