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

Class Priority

tests/python/test_dataclass_enum.py:135–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133
134def test_int_enum_payload_literal_sugar() -> None:
135 class Priority(IntEnum, type_key=_unique_key("IntEnumLiteral")):
136 low = 10
137 high = 20
138
139 assert isinstance(Priority.low, Priority)
140 assert isinstance(Priority.high, Priority)

Callers 1

Calls 3

entryFunction · 0.90
autoFunction · 0.90
_unique_keyFunction · 0.70

Tested by 1