Submit
Path:
~
/
/
opt
/
cloudlinux
/
venv
/
lib64
/
python3.11
/
site-packages
/
simplejson
/
tests
/
__pycache__
/
File Content:
test_iterable.cpython-311.pyc
� �|oin � �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 �r/builddir/build/BUILD/cloudlinux-venv-1.0.10/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
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
__init__.cpython-311.pyc
5524 bytes
0644
_cibw_runner.cpython-311.pyc
566 bytes
0644
test_bigint_as_string.cpython-311.pyc
3503 bytes
0644
test_bitsize_int_as_string.cpython-311.pyc
4274 bytes
0644
test_check_circular.cpython-311.pyc
2757 bytes
0644
test_decimal.cpython-311.pyc
5269 bytes
0644
test_decode.cpython-311.pyc
11403 bytes
0644
test_default.cpython-311.pyc
985 bytes
0644
test_dump.cpython-311.pyc
18572 bytes
0644
test_encode_basestring_ascii.cpython-311.pyc
3206 bytes
0644
test_encode_for_html.cpython-311.pyc
3621 bytes
0644
test_errors.cpython-311.pyc
4815 bytes
0644
test_fail.cpython-311.pyc
5563 bytes
0644
test_float.cpython-311.pyc
4417 bytes
0644
test_for_json.cpython-311.pyc
7399 bytes
0644
test_indent.cpython-311.pyc
4178 bytes
0644
test_item_sort_key.cpython-311.pyc
2948 bytes
0644
test_iterable.cpython-311.pyc
2750 bytes
0644
test_namedtuple.cpython-311.pyc
12416 bytes
0644
test_pass1.cpython-311.pyc
2399 bytes
0644
test_pass2.cpython-311.pyc
1036 bytes
0644
test_pass3.cpython-311.pyc
1131 bytes
0644
test_raw_json.cpython-311.pyc
3249 bytes
0644
test_recursion.cpython-311.pyc
3587 bytes
0644
test_scanstring.cpython-311.pyc
10450 bytes
0644
test_separators.cpython-311.pyc
1871 bytes
0644
test_speedups.cpython-311.pyc
8698 bytes
0644
test_str_subclass.cpython-311.pyc
1812 bytes
0644
test_subclass.cpython-311.pyc
2696 bytes
0644
test_tool.cpython-311.pyc
6326 bytes
0644
test_tuple.cpython-311.pyc
3535 bytes
0644
test_unicode.cpython-311.pyc
13742 bytes
0644
N4ST4R_ID | Naxtarrr