MCPcopy Index your code
hub / github.com/python/cpython / _resolve_mode

Method _resolve_mode

Lib/test/test_crossinterp.py:515–519  ·  view source on GitHub ↗
(self, mode)

Source from the content-addressed store, hash-verified

513 self.assertIsInstance(cm.exception.__cause__, exctype)
514
515 def _resolve_mode(self, mode):
516 if mode is None:
517 mode = self.MODE
518 assert mode
519 return mode
520
521
522class PickleTests(_GetXIDataTests):

Callers 7

get_xidataMethod · 0.95
get_roundtripMethod · 0.95
assert_not_shareableMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected