관리-도구
편집 파일: test_iterable.cpython-311.pyc
� \�Dgn � �T � d dl Z d dlmZ d dlZd� Zd� Z G d� de j � � ZdS )� N)�StringIOc �p � d� t j di |��� | � � � � S )N� � )�join�json�JSONEncoder� iterencode)�obj�kws ��/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib64/python3.11/site-packages/simplejson/tests/test_iterable.py� iter_dumpsr s3 � � �7�7�4�#�)�)�b�)�)�4�4�S�9�9�:�:�:� c �j � t � � }t j | fi |�� |� � � S )N)r r �dumps�getvalue)r r �sios r �sio_dumpr s1 � � �*�*�C��J�s���b�����<�<�>�>�r c � � e Zd Zd� ZdS )�TestIterablec �� � g dgddgg d�fD �]R}i ddifD �]G}t j t t fD �])} ||fi |��} |t |� � fi |��} | j t |t |� � fi |�� | j t |t |� � fddi|�� | � | |t |� � fddi|��� � | � | |t |� � fdt i|��� � | � | |t |� � fdt d �|��� � | � | |t |� � fdt d �|��� � ��+��I��Td S ) N� � )r r � �indent�iterable_as_arrayFT�default)r r ) r r r r �sum�assertRaises� TypeError�iter�assertEqual)�self�l�optsr �expect�default_expects r � test_iterablezTestIterable.test_iterable s� � ��q�c�A�q�6�9�9�9�-� U� U�A��h��]�+� U� U��"�j�*�h�?� U� U�E�"�U�1�-�-��-�-�F�%*�U�3�q�6�6�%:�%:�T�%:�%:�N�%�D�%�i���Q���H�H�4�H�H�H�%�D�%�i���Q���a�a�SX�a�\`�a�a�a��$�$�V�U�U�4��7�7�-[�-[�d�-[�VZ�-[�-[�\�\�\��$�$�^�U�U�4��7�7�5X�5X�C�5X�SW�5X�5X�Y�Y�Y��$�$�^�U�U�4��7�7�5q�V[�eh�5q�5q�lp�5q�5q�r�r�r��$�$����d�1�g�g�S��s�S�S�d�S�S�U� U� U� U� U� U� U� Ur N)�__name__� __module__�__qualname__r( r r r r r s( � � � � � �U� U� U� U� Ur r ) �unittest�simplejson.compatr � simplejsonr r r �TestCaser r r r �<module>r0 s� �� ���� &� &� &� &� &� &� � � � �;� ;� ;�� � � U� U� U� U� U�8�$� U� U� U� U� Ur