| Server IP : 157.22.201.140 / Your IP : 216.73.216.74 Web Server : nginx/1.30.1 System : Linux mit.vincode.fvds.ru 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/simplejson/tests/__pycache__/ |
Upload File : |
�
"Iet( � � � d dl mZ d dlmZmZmZmZmZmZ d dl Z
G d� de� Z G d� de� Zd� Z
d � Z G d
� de� Zy)� )�TestCase)�StringIO� long_type�b�binary_type� text_type�PY3Nc � � e Zd Zd� Zy)�MisbehavingTextSubtypec � � y)NzFAIL!� ��selfs �</usr/lib/python3/dist-packages/simplejson/tests/test_dump.py�__str__zMisbehavingTextSubtype.__str__ s � �� N)�__name__�
__module__�__qualname__r r
r r r r s � �r r c � � e Zd Zdd�Zd� Zd� Zy)�MisbehavingBytesSubtypeNc � � y)Nz
bad decoder
)r �encodings r �decodezMisbehavingBytesSubtype.decode
s � �r c � � y)Nzbad __str__r
r s r r zMisbehavingBytesSubtype.__str__ s � �r c � � t d� S )Nz
bad __bytes__�r r s r � __bytes__z!MisbehavingBytesSubtype.__bytes__ s
� ���!�!r �N)r r r r r r r
r r r r s � ���"r r c �T � t r!t | t � r| j d� S | S )N�ascii)r �
isinstance�bytesr )�ss r �as_text_typer% s"