MCPcopy Index your code
hub / github.com/msgspec/msgspec / Empty

Class Empty

tests/unit/test_common.py:619–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617class TestEnum:
618 def test_empty_errors(self, proto):
619 class Empty(enum.Enum):
620 pass
621
622 with pytest.raises(TypeError, match="Enum types must have at least one item"):
623 proto.Decoder(Empty)

Callers 1

test_defstruct_emptyMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_defstruct_emptyMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…