
    -Ph                         d dl mZ d dlmZ d dlmZmZmZmZ  G d d          Z	 G d d          Z
 G d d	          Z G d
 de          ZdS )    )deepcopy)TestCase)NameAssignmentStaticAssignmentArgumentNameDeletionc                       e Zd ZdZdS )FakeTypeTN)__name__
__module____qualname__is_pyobject     e/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/Cython/Compiler/Tests/TestFlowControl.pyr
   r
      s        KKKr   r
   c                   0    e Zd ZdZdZ e            Zd ZdS )FakeNode)zfilename.pyx      Nc                     | j         S N)type)selfscopes     r   
infer_typezFakeNode.infer_type   s
    yr   )r   r   r   poscf_stater
   r   r   r   r   r   r   r      s8        
 CH8::D    r   r   c                   "    e Zd Z e            ZdS )	FakeEntryN)r   r   r   r
   r   r   r   r   r   r      s        8::DDDr   r   c                       e Zd Zd ZdS )	TestGraphc                 |   t                      t                      }}t                      }|j        |_        t          |||          }t	          |          }|                     |j                   |                     |j                   |                     |j                   | 	                    |j        |j                   | 
                    |j                   | 
                    |j                   t          |          }t	          |          }|                     |j                   |                     |j                   |                     |j                   | 	                    |j        |j                   | 
                    |j                   | 
                    |j                   t          |||          }t	          |          }|                     |j                   |                     |j                   |                     |j                   | 	                    |j        |j                   |                     |j                   | 
                    |j                   t          ||          }t	          |          }|                     |j                   |                     |j                   |                     |j                   | 	                    |j        |j                   | 
                    |j                   |                     |j                   d S r   )r   r   r   r   r   
assertTruelhsrhsentryassertEqualassertFalseis_argis_deletionr   r   r   )	r   r$   r%   r&   name_assass
static_assarg_assname_dels	            r   test_deepcopyzTestGraph.test_deepcopy   s   ::xzzSG	!#sE22x        	"""(,///$$$)))%e,,
z""      	"""*.111$$$)))3U++w      	"""'+...
###)))U++x        	"""(,///$$$(((((r   N)r   r   r   r0   r   r   r   r!   r!      s#        ') ') ') ') ')r   r!   N)copyr   unittestr   Cython.Compiler.FlowControlr   r   r   r   r
   r   r   r!   r   r   r   <module>r4      s              > > > > > > > > > > > >                     () () () () () () () () () ()r   