Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/simplejson/simplejson
/ MisbehavingTextSubtype
Class
MisbehavingTextSubtype
simplejson/tests/test_dump.py:6–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
import
simplejson
as
json
5
6
class
MisbehavingTextSubtype(text_type):
7
def
__str__(self):
8
return
"FAIL!"
9
10
class
MisbehavingBytesSubtype(binary_type):
11
def
decode(self, encoding=None):
Callers
1
test_misbehaving_text_subtype
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_misbehaving_text_subtype
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…