MCPcopy Create free account
hub / github.com/cloudpipe/cloudpickle / test_cell_manipulation

Method test_cell_manipulation

tests/cloudpickle_test.py:1186–1194  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1184 cloudpickle.dumps(lock)
1185
1186 def test_cell_manipulation(self):
1187 cell = _make_empty_cell()
1188
1189 with pytest.raises(ValueError):
1190 cell.cell_contents
1191
1192 ob = object()
1193 cell.cell_contents = ob
1194 assert cell.cell_contents is ob
1195
1196 def check_logger(self, name):
1197 logger = logging.getLogger(name)

Callers

nothing calls this directly

Calls 1

_make_empty_cellFunction · 0.90

Tested by

no test coverage detected