| 625 | # the '__builtins__' key. In such cases, cloudpickle used to fail |
| 626 | # when pickling dynamic modules. |
| 627 | class UnpickleableObject: |
| 628 | def __reduce__(self): |
| 629 | raise ValueError("Unpicklable object") |
| 630 | |
| 631 | mod = types.ModuleType("mod") |
| 632 |
no outgoing calls