File: //usr/local/lib/python3.7/test/__pycache__/test_unicodedata.cpython-37.pyc
B
��gf2 � @ 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(97a41f208c53d5e08c77c1175187e95386b82b6fc C sn t �� }�xHtd�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�� qW |�� }| �|| j� d S )Ni 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&