'Disable logging of warnings.warn() calls
Once called, any subsequent calls to ``warnings.warn()`` are no longer
redirected to this logger.
This can be re-enabled with ``enable_warnings_logging``.'

def disable_warnings_logging(self):

    if (not self.warnings_logging_enabled()):
        raise LoggingError('Warnings    logging    has    not    been    enabled')
    if (warnings.showwarning != self._showwarning):
        raise LoggingError('Cannot    disable    warnings    logging:    warnings.showwarning    was    not    set    by    this    logger,    or    has    been    overridden')
    warnings.showwarning = self._showwarning_orig
    self._showwarning_orig = None
