https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/simplejson/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/simplejson/tests/__pycache__/test_iterable.cpython-310.pyc
o

\Փan�@sBddlZddlmZddlZdd�Zdd�ZGdd�dej�ZdS)	�N)�StringIOcKsd�tjdi|���|��S)N��)�join�json�JSONEncoder�
iterencode)�obj�kwrr�@/usr/lib/python3/dist-packages/simplejson/tests/test_iterable.py�
iter_dumpssrcKs t�}tj|fi|��|��S)N)rr�dumps�getvalue)r	r
�siorrr�sio_dump	src@seZdZdd�ZdS)�TestIterablecCs$gdgddggd�fD]�}iddifD]{}tjttfD]r}||fi|��}|t|�fi|��}|jt|t|�fi|��|jt|t|�fddi|��|�||t|�fddi|���|�||t|�fdti|���|�||t|�fdtd	�|���|�||t|�fdtd	�|���qqqdS)
N��)rr��indent�iterable_as_arrayFT�default)rr)	rr
rr�sum�assertRaises�	TypeError�iter�assertEqual)�self�l�optsr
�expect�default_expectrrr�
test_iterables"  "����zTestIterable.test_iterableN)�__name__�
__module__�__qualname__r"rrrrrsr)	�unittest�simplejson.compatr�
simplejsonrrr�TestCaserrrrr�<module>s

https://t.me/RX1948 - 2025