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

Class F

tests/cloudpickle_test.py:528–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526
527 def test_instancemethods_without_self(self):
528 class F:
529 def f(self, x):
530 return x + 1
531
532 g = pickle_depickle(F.f, protocol=self.protocol)
533 self.assertEqual(g.__name__, F.f.__name__)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected