MCPcopy Create free account
hub / github.com/simplejson/simplejson / test_make_encoder

Method test_make_encoder

simplejson/tests/test_speedups.py:34–42  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32class TestEncode(TestCase):
33 @skip_if_speedups_missing
34 def test_make_encoder(self):
35 self.assertRaises(
36 TypeError,
37 encoder.c_make_encoder,
38 None,
39 ("\xCD\x7D\x3D\x4E\x12\x4C\xF9\x79\xD7"
40 "\x52\xBA\x82\xF2\x27\x4A\x7D\xA0\xCA\x75"),
41 None
42 )
43
44 @skip_if_speedups_missing
45 def test_bad_str_encoder(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected