Package qm :: Package test :: Module context :: Class ContextWrapper
[hide private]
[frames] | no frames]

Class ContextWrapper

source code

Do-nothing class to preserve pickle compatability.

A class called 'ContextWrapper' used to be used in instead of a 'Context' class in some cases, and we used to put contexts into 'Result's. Because of how pickles work, this means that the only way to unpickle these old 'Result's is to have a do-nothing placeholder class that can be instantiated and then thrown away.