관리-도구
편집 파일: test_speedups.cpython-311.pyc
� \�Dg0 � � � d dl mZ d dlZd dlZd dlmZ d dlZd dlmZmZmZ d dl m Z mZmZ d� Z d� Z G d� d � � Z G d � de� � Z G d� d e� � ZdS )� )�with_statementN)�TestCase)�encoder�decoder�scanner)�PY3� long_type�bc � � t j d uS �N)r �c_make_encoder� � ��/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib64/python3.11/site-packages/simplejson/tests/test_speedups.py�has_speedupsr s � ��!��-�-r c � � � � fd�}|S )Nc �� �� t � � sJt t d� � rt j d� � �t j � d� � d S �| i |��S )N�SkipTestzC Extension not available)r �hasattr�unittestr �sys�stdout�write)�args�kwargs�funcs �r �wrapperz)skip_if_speedups_missing.<locals>.wrapper sd �� ��~�~� ��x��,�,� ��'�(C�D�D�D�� � � �!<�=�=�=����t�T�$�V�$�$�$r r )r r s ` r �skip_if_speedups_missingr s# �� �%� %� %� %� %� �Nr c � � e Zd Zd� ZeZdS )�BadBoolc � � ddz d S �N� r r ��selfs r �__bool__zBadBool.__bool__ s � � �!����r N)�__name__� __module__�__qualname__r&