MCPcopy
hub / github.com/cloudpipe/cloudpickle / test_simple_func

Function test_simple_func

tests/test_backward_compat.py:36–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35
36def test_simple_func():
37 f = load_obj("simple_func.pkl")
38 assert f(1) == 2
39 assert f(1, 1) == 2
40 assert f(2, 2) == 4
41
42
43def test_simple_class():

Callers

nothing calls this directly

Calls 2

load_objFunction · 0.85
fFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…