class documentation
class PicklableMixin(object): (source)
Known subclasses: dateutil.test.test_tz.TzPickleTest
Undocumented
Method | assert |
Assert that an object can be pickled and unpickled. This assertion assumes that the desired behavior is that the unpickled object compares equal to the original object, but is not the same object. |
Method | _get |
Pickle and unpickle an object using ``pickle.dumps`` / ``pickle.loads`` |
Method | _get |
Pickle and unpickle an object using ``pickle.dump`` / ``pickle.load`` on a temporary file. |
def assertPicklable(self, obj, singleton=False, asfile=False, dump_kwargs=None, load_kwargs=None):
(source)
Assert that an object can be pickled and unpickled. This assertion assumes that the desired behavior is that the unpickled object compares equal to the original object, but is not the same object.