(self)
| 121 | self.assertIsInstance(result, tuple) |
| 122 | |
| 123 | def test_array_hook_empty(self): |
| 124 | result = json.loads('[]', array_hook=tuple) |
| 125 | self.assertEqual(result, ()) |
| 126 | self.assertIsInstance(result, tuple) |
| 127 | |
| 128 | def test_array_hook_nested_in_object(self): |
| 129 | result = json.loads('{"a": [1, 2]}', array_hook=tuple) |