(input_value, output_value)
| 26 | [('false', False), ('true', True), ('0', False), ('1', True), ('"yes"', True), ('"no"', False)], |
| 27 | ) |
| 28 | def test_bool(input_value, output_value): |
| 29 | v = SchemaValidator(core_schema.bool_schema()) |
| 30 | assert v.validate_json(input_value) == output_value |
| 31 | |
| 32 | |
| 33 | @pytest.mark.parametrize('input_value', ['[1, 2, 3]', b'[1, 2, 3]', bytearray(b'[1, 2, 3]')]) |
nothing calls this directly
no test coverage detected