def __exit__(self):
        if not self._entered:
            raise RuntimeError("Cannot exit %r without entering first" % self)
        self._module.filters = self._filters
        self._module.showwarning = self._showwarning
dataset/ETHPy150Open ipython/ipython-py3k/IPython/external/decorators/_numpy_testing_utils.py/WarningManager.__exit__/original