MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_transform

Function test_transform

lib/matplotlib/tests/test_pickle.py:229–241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227
228
229def test_transform():
230 obj = TransformBlob()
231 pf = pickle.dumps(obj)
232 del obj
233
234 obj = pickle.loads(pf)
235 # Check parent -> child links of TransformWrapper.
236 assert obj.wrapper._child == obj.composite
237 # Check child -> parent links of TransformWrapper.
238 assert [v() for v in obj.wrapper._parents.values()] == [obj.composite2]
239 # Check input and output dimensions are set as expected.
240 assert obj.wrapper.input_dims == obj.composite.input_dims
241 assert obj.wrapper.output_dims == obj.composite.output_dims
242
243
244def test_rrulewrapper():

Callers

nothing calls this directly

Calls 2

TransformBlobClass · 0.85
valuesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…