
    Ng8                         d dl mZ d dlmZ d dlmZ d dlmZmZm	Z	m
Z
  G d de          Z G d de          Z G d	 d
e          Z G d de          ZdS )    )absolute_import)deepcopy)TestCase)NameAssignmentStaticAssignmentArgumentNameDeletionc                       e Zd ZdZdS )FakeTypeTN)__name__
__module____qualname__is_pyobject     a/var/www/html/ai-engine/env/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   r1   r   r   r   r"   r"      s#        ') ') ') ') ')r   r"   N)
__future__r   copyr   unittestr   Cython.Compiler.FlowControlr   r   r   r	   objectr   r   r    r"   r   r   r   <module>r7      s)   & & & & & &            > > > > > > > > > > > >    v       v          () () () () () () () () () ()r   