관리-도구
편집 파일: test_tuple.cpython-311.pyc
� \�Dg' � �H � d dl Z d dlmZ d dlZ G d� de j � � ZdS )� N)�StringIOc � � e Zd Zd� Zd� ZdS )� TestTuplesc � � d}t j t |� � � � }| � |t j |� � � � | � |t j |d�� � � � | � t t j |d�� � | � |t j |t �� � � � | � |t j |dt �� � � � | � t j t |� � � � t j |dt �� � � � d S �N)� � � T)�tuple_as_arrayF)�default)r r )�json�dumps�list�assertEqual�assertRaises� TypeError�repr)�self�t�expects �}/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib64/python3.11/site-packages/simplejson/tests/test_tuple.py�test_tuple_array_dumpsz!TestTuples.test_tuple_array_dumps s" � �����D��G�G�$�$��������A���/�/�/�������A�d�!C�!C�!C�D�D�D����)�T�Z��5��I�I�I�������A�t�!<�!<�!<�=�=�=�������A�d�48�":� ":� ":� ;� ;� ;� ����J�t�A�w�w����J�q���=�=�=� ?� ?� ?� ?� ?� c � � d}t j t |� � � � }t � � }t j ||� � | � ||� � � � � t � � }t j ||d�� � | � ||� � � � � | � t t j |t � � d�� � t � � }t j ||t �� � | � ||� � � � � t � � }t j ||dt �� � | � ||� � � � � t � � }t j ||dt �� � | � t j t |� � � � |� � � � � d S r ) r r r r �dumpr �getvaluer r r )r r r �sios r �test_tuple_array_dumpz TestTuples.test_tuple_array_dump s� � �����D��G�G�$�$���j�j��� �!�S�������������0�0�0��j�j��� �!�S��.�.�.�.����������0�0�0����)�T�Y��8�:�:�).� � 0� 0� 0� �j�j��� �!�S�$�'�'�'�'����������0�0�0��j�j��� �!�S��t�<�<�<�<����������0�0�0��j�j��� �!�S���=�=�=�=�����J�t�A�w�w����L�L�N�N� � � � � r N)�__name__� __module__�__qualname__r r � r r r r s2 � � � � � �?� ?� ?� � � � � r r )�unittest�simplejson.compatr � simplejsonr �TestCaser r"