관리-도구
편집 파일: test_str_subclass.cpython-311.pyc
� �܋f� � �^ � d dl mZ d dlZd dlmZ G d� de� � Z G d� de� � ZdS )� )�TestCaseN)� text_typec � � e Zd Zd� ZdS )�WonkyTextSubclassc �, � | � d� � S )Nznot what you wanted!)� __class__)�self�start�ends �u/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/simplejson/tests/test_str_subclass.py�__getslice__zWonkyTextSubclass.__getslice__ s � ��~�~�4�5�5�5� N)�__name__� __module__�__qualname__r � r r r r s# � � � � � �6� 6� 6� 6� 6r r c � � e Zd Zd� ZdS )�TestStrSubclassc �0 � dD ]�}| � |t j t j t |� � � � � � � � | � |t j t j t |� � d�� � � � � � ��d S )N)� z"hello"�text�\F)�ensure_ascii)�assertEqual� simplejson�loads�dumpsr )r �ss r �test_dump_loadzTestStrSubclass.test_dump_load s� � �3� H� H�A������ ��!1�2C�A�2F�2F�!G�!G�H�H� J� J� J� ����� ��!1�2C�A�2F�2F�?D�"F� "F� "F� G� G� H� H� H� H� H� Hr N)r r r r r r r r r s( � � � � � � H� H� H� H� Hr r )�unittestr r �simplejson.compatr r r r r r �<module>r"