MCPcopy 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

4import simplejson as json
5
6class MisbehavingTextSubtype(text_type):
7 def __str__(self):
8 return "FAIL!"
9
10class MisbehavingBytesSubtype(binary_type):
11 def decode(self, encoding=None):

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…