%PDF- %PDF-
Direktori : /lib/python3/dist-packages/jsonschema/tests/__pycache__/ |
Current File : //lib/python3/dist-packages/jsonschema/tests/__pycache__/fuzz_validate.cpython-312.pyc |
� `��dZ � �� � d Z ddlZddlmZmZ ddlZ ej ej � ej � ej dd�� ej � � Z ej ej ej � ej ej � e� � d� �� Z eee�� d � � Zd � Zedk( rddlZ e� yy)z� Fuzzing setup for OSS-Fuzz. See https://github.com/google/oss-fuzz/tree/master/projects/jsonschema for the other half of the setup here. � N)�given� strategiesF)� allow_nan�allow_infinityc �R � t j t j � | � S )N)r �dictionaries�text)�inners �@/usr/lib/python3/dist-packages/jsonschema/tests/fuzz_validate.py�<lambda>r s � ��0�0����1B�E�J� � )�base�extend��obj1�obj2c � � t j | |�� y # t j j $ r Y y t j j $ r Y y w xY w)N)�instance�schema)� jsonschema�validate� exceptions�ValidationError�SchemaErrorr s r �test_schemasr sL � � ����T�$�7��� � �0�0� ��� � �,�,� �� �s � �A�A�Ac �� � t j � t j t j t j j d�� t j � y )NT)�enable_python_coverage) �atheris�instrument_all�Setup�sys�argvr � hypothesis�fuzz_one_input�Fuzz� r r �mainr'