tests.integration.test_pickling#
Unit tests that ensure all Edgegraph objects are pickleable and unpickleable.
Functions
|
Ensure that instances with extra code attached can be pickled. |
|
Ensure that instances with extra non-local code can be pickled. |
|
Test pickling procedure saves and restores arbitrary defined-at-runtime attributes. |
|
Ensure semisingleton objects can be pickled. |
|
Ensure singleton objects can be pickled. |
|
Ensure the pickling approach works with various subclass structures. |
|
Ensure pickle data can actually be written to / read from a real file. |
|
Ensure large graphs don't cause recursion errors. |
Quick it's-still-in-dev smoketest for just pickling and unpickling a vertex. |
|
|
There are known issues around pickling and unpickling threading.RLock() with the dill module. |
|
Ensure that the nonrecursive pickler data can be deserialized by dill. |
Classes