MCPcopy Create free account
hub / github.com/apache/tvm-ffi / Hidden

Class Hidden

tests/python/test_dataclass_enum.py:109–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107
108def test_public_value_and_name_are_hidden() -> None:
109 class Hidden(Enum, type_key=_unique_key("Hidden")):
110 yes = auto()
111
112 assert Hidden.yes._value == 0
113 assert Hidden.yes._name == "yes"

Callers

nothing calls this directly

Calls 2

autoFunction · 0.90
_unique_keyFunction · 0.70

Tested by

no test coverage detected