|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /usr/local/lib/python3.6/site-packages/jsonschema/tests/__pycache__/ |
Upload File : |
3 F�Kd= � @ s� d Z ddlZddlmZmZ ddlZejej� ej� ej ddd�ej � �Zejejej� ej ej � e��dd� d�Zeeed �d d� �Zdd � Zedkr�ddlZe� dS )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_nanZallow_infinityc C s t jt j� | �S )N)r �dictionaries�text)�inner� r �D/tmp/pip-build-8nxjc3nm/jsonschema/jsonschema/tests/fuzz_validate.py�<lambda> s r )�base�extend)�obj1�obj2c C sF yt j| |d� W n. t jjk r* Y n t jjk r@ Y nX d S )N)�instanceZschema)� jsonschema�validate� exceptionsZValidationErrorZSchemaError)r r r r r �test_schemas s r c C s"