Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/jsonschema/tests/__pycache__/ |
Upload File : |
o >��]H � @ s� d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl m Z ddlZddlm Z ddlmZ ddlZdd� Zejd d �G dd� de��Zejd d �G d d� de��Zejd dd�G dd� de��Zdd� ZdS )z= Python representations of the JSON Schema Test Suite tests. � )�partialN)�FilePath)�PY3)� validatorsc C sD t j�d�} | d urt| �S ttj��� �d�} | �� s t d��| S )N�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�sibling�isdir� ValueError)�root� r �9/usr/lib/python3/dist-packages/jsonschema/tests/_suite.py�_find_suite s �r T)�hashc @ s6 e Zd Zeje�e�d�Zdd� Zdd� Z dd� Z dS ) �Suite)�defaultc C sB | j �ddg�}t�tj|jdg�}dd� t�|� d��� � D �S )N�bin�jsonschema_suite�remotesc S s i | ] \}}d | |�qS )zhttp://localhost:1234/r )�.0�name�schemar r r � <dictcomp>1 s ��z"Suite._remotes.<locals>.<dictcomp>�utf-8)�_root� descendant� subprocess�check_output�sys� executable�pathr �loads�decode�items)�selfr r r r r �_remotes, s ��zSuite._remotesc C s"