Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e105294 commit 7c2d978Copy full SHA for 7c2d978
1 file changed
Lib/test/test_json/test_speedups.py
@@ -31,6 +31,8 @@ def test(value):
31
32
class TestEncode(CTest):
33
def test_make_encoder(self):
34
+ # bpo-6986: The interpreter shouldn't crash in case c_make_encoder()
35
+ # receives invalid arguments.
36
self.assertRaises(TypeError, self.json.encoder.c_make_encoder,
37
(True, False),
38
b"\xCD\x7D\x3D\x4E\x12\x4C\xF9\x79\xD7\x52\xBA\x82\xF2\x27\x4A\x7D\xA0\xCA\x75",
0 commit comments