관리-도구
편집 파일: test_separators.cpython-37.opt-1.pyc
B VX�Y� � @ s0 d dl Z d dlmZ d dlZG dd� de�ZdS )� N)�TestCasec @ s e Zd Zdd� ZdS )�TestSeparatorsc C s� dgdgg dddddidd d �g}t �d�}t�|�}tj|dd dd�}t�|�}t�|�}| �||� | �||� | �||� d S )NZblorpieZwhoopsz d-shtaeouz d-nthiouhzi-vhbjkhnthZnifty�W �yesF)ZfieldZ morefieldaT [ [ "blorpie" ] , [ "whoops" ] , [] , "d-shtaeou" , "d-nthiouh" , "i-vhbjkhnth" , { "nifty" : 87 } , { "field" : "yes" , "morefield" : false } ]z T)z ,z : )�indentZ sort_keysZ separators)�textwrap�dedent�json�dumps�loadsZassertEqual)�self�hZexpectZd1Zd2Zh1Zh2� r �S/opt/alt/python37/lib64/python3.7/site-packages/simplejson/tests/test_separators.py�test_separators s zTestSeparators.test_separatorsN)�__name__� __module__�__qualname__r r r r r r s r )r Zunittestr Z simplejsonr r r r r r �<module> s