관리-도구
편집 파일: test_str_subclass.cpython-37.pyc
B VX�Y' � @ sH d dl mZ d dlZd dlmZmZ G dd� de�ZG dd� de�ZdS )� )�TestCaseN)� text_type�uc @ s e Zd Zdd� ZdS )�WonkyTextSubclassc C s | � d�S )Nznot what you wanted!)� __class__)�self�start�end� r �U/opt/alt/python37/lib64/python3.7/site-packages/simplejson/tests/test_str_subclass.py�__getslice__ s zWonkyTextSubclass.__getslice__N)�__name__� __module__�__qualname__r r r r r r s r c @ s e Zd Zdd� ZdS )�TestStrSubclassc C s: x4dddt d�gD ] }| �|t�t�t|���� qW d S )N� z"hello"�text�\)r ZassertEqual� simplejson�loads�dumpsr )r �sr r r �test_dump_load s zTestStrSubclass.test_dump_loadN)r r r r r r r r r s r )Zunittestr r Zsimplejson.compatr r r r r r r r �<module> s