| Server IP : 88.99.149.37 / Your IP : 216.73.216.141 Web Server : nginx/1.31.2 System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64 User : muralimurth ( 1015) PHP Version : 8.4.23 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.12/site-packages/jsonschema/tests/__pycache__/ |
Upload File : |
�
�% g-H � � � d dl mZ d dlmZmZ d dlmZ d dlmZ d dl m
Z
d dlmZ d dl
mZmZ d dlmZ d d lZd d lZd d lZd d lZd d lZd d
lmZmZ d dlmZ d d lZd dlmZm Z m!Z!m"Z"m#Z# d
� Z$ G d� de� Z% G d� de� Z& G d� de� Z' G d� d� Z( G d� de(� Z) G d� d� Z* G d� de*e)e� Z+ G d� de*e)e� Z, G d� de)e� Z- G d � d!e)e� Z. G d"� d#e)e� Z/ G d$� d%e)e� Z0 G d&� d'e� Z1 G d(� d)e� Z2 G d*� d+e� Z3 G d,� d-e� Z4 G d.� d/e� Z5 G d0� d1e� Z6d2� Z7e G d3� d4� � Z8e G d5� d6� � Z9y )7� )�annotations)�deque�
namedtuple)�contextmanager)�Decimal)�BytesIO)�Any)�TestCase�mock)�pathname2urlN)�define�field)�DRAFT202012)�
FormatChecker�TypeChecker�
exceptions� protocols�
validatorsc # �l K � |D ]+ }|j dd� t j di |���� �- y �w)N�messagezYou told me to fail!� )�
setdefaultr �ValidationError)� validator�errors�instance�schema�eachs �E/usr/lib/python3.12/site-packages/jsonschema/tests/test_validators.py�failr s3 � �� ������ �#9�:��(�(�0�4�0�0� �s �24c � � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
d� Zd
� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zy)�TestCreateAndExtendc �� � | j | j t j t t j � � | j | j t j
t t j
� � ddi| _ dt i| _ t � | _ t j | j | j | j �� | _ y )N�$idzsome://meta/schemar )�meta_schemar �type_checker)�
addCleanup�assertEqualr �
_META_SCHEMAS�dict�_VALIDATORSr% r r r&