관리-도구
편집 파일: __init__.cpython-311.pyc
� \�Dg� � � � d dl mZ d dlZd dlZd dlZ G d� dej � � Z G d� dej � � Zdd�Z d d�Z d d �Zed k r�d dlZd dlZej � ej � ej � ej � e� � � � � � � � Zej � d e� � ee�� � dS dS )� )�absolute_importNc � � e Zd Zd� ZdS )�NoExtensionTestSuitec � � dd l }|� d� � t j � | |� � }|� d� � |S )Nr FT)� simplejson�_toggle_speedups�unittest� TestSuite�run)�self�resultr s �{/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib64/python3.11/site-packages/simplejson/tests/__init__.pyr zNoExtensionTestSuite.run sS � ������#�#�E�*�*�*��#�'�'��f�5�5���#�#�D�)�)�)�� � N)�__name__� __module__�__qualname__r � r r r r s# � � � � � �� � � � r r c � � e Zd Zd� ZdS )�TestMissingSpeedupsc � � t t d� � rd S t | d� � r| � d� � d S d S )N�pypy_translation_info�skipTestz_speedups.so is missing!)�hasattr�sysr )r s r �runTestzTestMissingSpeedups.runTest sP � ��3�/�0�0� 6�,�,� �T�:� &� &� 6��M�M�4�5�5�5�5�5� 6� 6r N)r r r r r r r r r s# � � � � � �6� 6� 6� 6� 6r r c � � dd l }dd l}dd l}| �t j � � } dd l}n## t $ r t j dk r| cY S � w xY w||j |j fD ]*}| � |� |� � � � �+|�H| � |� t j � |d� � d�� � � � | S )Nr )� � z index.rstF)�module_relative)r �simplejson.encoder�simplejson.decoderr r �doctest�ImportErrorr �version_info�encoder�decoder�addTest�DocTestSuite�DocFileSuite�os�path�join)�suite�project_dirr r"