File: //var/opt/nydus/ops/jsonschema/benchmarks/__pycache__/unused_registry.cpython-39.pyc
a
�,�h� � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZ e� � de�
i ��ZddiZd d
iZ
ee�Zeeed�Zedkr�e� Ze�d
dd� � e�ddd� � dS )z�
An unused schema registry should not cause slower validation.
"Unused" here means one where no reference resolution is occurring anyhow.
See https://github.com/python-jsonschema/jsonschema/issues/1088.
� )�Runner)�Registry)�DRAFT201909)�Draft201909Validatorzurn:example:fooz$refz,https://json-schema.org/draft/2019-09/schemaZ maxLength� )�registry�__main__zno registryc C s
t �t�S �N)�no_registry�is_valid�instance� r
r
�V/opt/nydus/tmp/pip-target-wkfpz8uv/lib/python/jsonschema/benchmarks/unused_registry.py�<lambda> � r zuseless registryc C s
t �t�S r )�with_useless_registryr r r
r
r
r r "