Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/msgspec/msgspec
/ Bad
Class
Bad
tests/unit/test_struct.py:791–793 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
789
msg =
"Oh no!"
790
791
class
Bad:
792
def
__repr__(self):
793
raise
ValueError(msg)
794
795
class
Test(Struct):
796
a: object
Callers
3
test_repr_errors
Method · 0.70
test_struct_eq_identity_fastpath
Method · 0.70
test_struct_compare_errors
Method · 0.70
Calls
no outgoing calls
Tested by
3
test_repr_errors
Method · 0.56
test_struct_eq_identity_fastpath
Method · 0.56
test_struct_compare_errors
Method · 0.56