| Server IP : 68.178.172.28 / Your IP : 216.73.216.152 Web Server : Apache System : Linux 28.172.178.68.host.secureserver.net 4.18.0-553.94.1.el8_10.x86_64 #1 SMP Mon Jan 19 05:45:41 EST 2026 x86_64 User : kiskarnal ( 1003) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /opt/python38/lib/python3.8/lib2to3/tests/__pycache__/ |
Upload File : |
U
�i�_�? � @ sj d Z ddlmZ ddlmZ ze W n ek
r@ dd� ZY nX G dd� dej�ZG d d
� d
ej�Z dS )a Unit tests for pytree.py.
NOTE: Please *don't* add doc strings to individual test methods!
In verbose mode, printing of the module, class and method name is much
more helpful than printing of (the first line of) the docstring,
especially when debugging a test.
� )�support� )�pytreec C s t | �}|�� |S �N)�list�sort)Zlst�l� r �8/opt/python38/lib/python3.8/lib2to3/tests/test_pytree.py�sorted s r c @ s e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� Zdd
� Z dd� Z
dd� Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zd*d+� Zd,d-� Zd.d/� Zd0d1� Zd2d3� Zd4d5� Zd6d7� Zd8d9� Zd:d;� Z d<d=� Z!d>d?� Z"d@dA� Z#dBS )C� TestNodesz(Unit tests for nodes (Base, Leaf, Node).c C s d S r )�AssertionErrorr )�selfr r r
�test_instantiate_base s zTestNodes.test_instantiate_basec C s, t �dd�}| �|jd� | �|jd� d S )N�d �foo)r �Leaf�assertEqual�type�value�r �l1r r r
� test_leaf"