MCPcopy Index your code
hub / github.com/danielgtaylor/python-betterproto / test_try_value

Function test_try_value

tests/test_enum.py:78–79  ·  view source on GitHub ↗
(member: Colour, input_int: int)

Source from the content-addressed store, hash-verified

76 ],
77)
78def test_try_value(member: Colour, input_int: int) -> None:
79 assert Colour.try_value(input_int) == member

Callers

nothing calls this directly

Calls 1

try_valueMethod · 0.80

Tested by

no test coverage detected