MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / pickle_round_trip

Function pickle_round_trip

tests/test_exceptions.py:33–34  ·  view source on GitHub ↗
(error: AnthropicError)

Source from the content-addressed store, hash-verified

31
32
33def pickle_round_trip(error: AnthropicError) -> AnthropicError:
34 return pickle.loads(pickle.dumps(error))
35
36
37parametrize_duplicate = pytest.mark.parametrize(

Calls

no outgoing calls

Tested by

no test coverage detected