|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/cppython/lib/python3.8/test/__pycache__/ |
U
>��g�2 � @ s� d Z ddlZddlZddlZddlmZ dZdZG dd� dej�Z G dd � d ej�Z
G d
d� de
�ZG dd
� d
e
�Ze
dkr�e�� dS )z� Test script for the unicodedata module.
Written by Marc-Andre Lemburg (mal@lemburg.com).
(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
� N)�
script_helperzutf-8�
surrogatepassc @ s e Zd ZdZdd� ZdS )�UnicodeMethodsTestZ(9129d6f2bdf008a81c2476e5b5127014a62130c1c C sh t �� }td�D �]:}t|�}d|�� d|�� d|�� d|�� d|�� d|� � d|�
� d|�� d|�� d|d �� d|d �� d|d �� d|d �� d|d �� d|d � � d|d �
� d|d �� d|d �� |�
� |�� |�� |d �
� |d �� |d �� |d �� g}|�d�|��tt�� q|�� }| �|| j� d S )N� Z01�abcZ123z �ABC� )�hashlib�sha1�range�chr�isalnum�isalpha� isdecimal�isdigit�islower� isnumeric�isspace�istitle�isupper�lower�upper�title�update�join�encode�encoding�errors� hexdigest�assertEqual�expectedchecksum)�self�h�i�char�data�result� r'