Your IP : 216.73.216.60
3
� ff2 � @ s� d Z ddlZddlZddlZddlmZ dZdZG dd� dej�Z G dd � d ej�Z
G d
d� de
�ZG dd
� d
e
�Ze
dkr�ej� 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(c1fa98674a683aa8a8d8dee0c84494f8d36346e6c C sn t j� }�xHtd�D �]:}t|�}d|j� d|j� d|j� d|j� d|j� d|j � d|j
� d|j� d|j� d|d j� d|d j� d|d j� d|d j� d|d j� d|d j � d|d j
� d|d j� d|d j� |j
� |j� |j� |d j
� |d j� |d j� |d j� g}|jdj|�jtt�� qW |j� }| j|| 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&