Reverse of :meth:`get_pickleable_exception`.
(exc)
| 183 | |
| 184 | |
| 185 | def get_pickled_exception(exc): |
| 186 | """Reverse of :meth:`get_pickleable_exception`.""" |
| 187 | if isinstance(exc, UnpickleableExceptionWrapper): |
| 188 | return exc.restore() |
| 189 | return exc |
| 190 | |
| 191 | |
| 192 | def b64encode(s): |
no test coverage detected