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

Class Test2

tests/unit/test_struct.py:145–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 with pytest.raises(TypeError, match="__new__"):
144
145 class Test2(Struct):
146 a: int
147
148 def __new__(self, a):
149 pass
150
151 with pytest.raises(TypeError, match="__slots__"):
152

Callers 2

test_struct_eqMethod · 0.70

Calls

no outgoing calls

Tested by 2

test_struct_eqMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…