HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.7/test/test_json/__pycache__/test_separators.cpython-37.pyc
B

��g'�@sNddlZddlmZmZGdd�d�ZGdd�dee�ZGdd�dee�ZdS)	�N)�PyTest�CTestc@seZdZdd�Zdd�ZdS)�TestSeparatorsc
Cs�dgdggdddddidd	d
�g}t�d�}|�|�}|j|dd
dd�}|�|�}|�|�}|�||�|�||�|�||�dS)NZblorpieZwhoopsz	d-shtaeouz	d-nthiouhzi-vhbjkhnthZnifty�WZyesF)ZfieldZ	morefieldaT        [
          [
            "blorpie"
          ] ,
          [
            "whoops"
          ] ,
          [] ,
          "d-shtaeou" ,
          "d-nthiouh" ,
          "i-vhbjkhnth" ,
          {
            "nifty" : 87
          } ,
          {
            "field" : "yes" ,
            "morefield" : false
          }
        ]�T)z ,z : )�indentZ	sort_keys�
separators)�textwrap�dedent�dumps�loadsZassertEqual)�self�h�expectZd1Zd2Zh1Zh2�r�:/usr/local/lib/python3.7/test/test_json/test_separators.py�test_separatorss


zTestSeparators.test_separatorscCsJddd�}|jt|j|dd�|jt|j|dd�|jt|j|dd�dS)Nr�)��)s, z: )r)z, s: )s, s: )ZassertRaises�	TypeErrorr)r
rrrr�test_illegal_separators*s
z&TestSeparators.test_illegal_separatorsN)�__name__�
__module__�__qualname__rrrrrrrs$rc@seZdZdS)�TestPySeparatorsN)rrrrrrrr1src@seZdZdS)�TestCSeparatorsN)rrrrrrrr2sr)r	Ztest.test_jsonrrrrrrrrr�<module>s,