python (3.11.7)
    e?                         d Z ddlmZ ddlmZ 	 e n# e$ r d ZY nw xY w G d dej                  Z G d d	ej                  Z	d
S )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                 L    t          |           }|                                 |S N)listsort)lstls     M/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/lib2to3/tests/test_pytree.pysortedr
      s    II	    c                       e Zd ZdZd Zd Zd Zd Zd Zd Z	d Z
d	 Zd
 Zd Z
d Zd
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d Z!d  Z"d! Z#d"S )#	TestNodesz(Unit tests for nodes (Base, Leaf, Node).c                 R    	 |                      t          t          j                   d S r   )assertRaisesAssertionErrorr   Base)selfs    r   test_instantiate_basezTestNodes.test_instantiate_base   s%    	;nfk:::::r   c                     t          j        dd          }|                     |j        d           |                     |j        d           d S )Nd   foo)r   LeafassertEqualtypevaluer   l1s     r   	test_leafzTestNodes.test_leaf"