| 8 | from simplejson import OrderedDict |
| 9 | |
| 10 | class MisbehavingBytesSubtype(binary_type): |
| 11 | def decode(self, encoding=None): |
| 12 | return "bad decode" |
| 13 | def __str__(self): |
| 14 | return "bad __str__" |
| 15 | def __bytes__(self): |
| 16 | return b("bad __bytes__") |
| 17 | |
| 18 | class TestDecode(TestCase): |
| 19 | def test_decimal(self): |
no outgoing calls
searching dependent graphs…