
    ڏDj8                         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y)    )deepcopy)TestCase)NameAssignmentStaticAssignmentArgumentNameDeletionc                       e Zd ZdZy)FakeTypeTN)__name__
__module____qualname__is_pyobject     iC:\Crop_Prediction\Backend\crop-ai-system\venv\Lib\site-packages\Cython/Compiler/Tests/TestFlowControl.pyr
   r
      s    Kr   r
   c                   (    e Zd ZdZdZ e       Zd Zy)FakeNode)zfilename.pyx      Nc                     | j                   S N)type)selfscopes     r   
infer_typezFakeNode.infer_type   s    yyr   )r   r   r   poscf_stater
   r   r   r   r   r   r   r      s    
 CH:Dr   r   c                       e Zd Z e       Zy)	FakeEntryN)r   r   r   r
   r   r   r   r   r   r      s	    :Dr   r   c                       e Zd Zd Zy)	TestGraphc                    t               t               }}t               }|j                  |_        t        |||      }t	        |      }| j                  |j                         | j                  |j                         | j                  |j                         | j                  |j                  |j                         | j                  |j                         | j                  |j                         t        |      }t	        |      }| j                  |j                         | j                  |j                         | j                  |j                         | j                  |j                  |j                         | j                  |j                         | j                  |j                         t        |||      }t	        |      }| j                  |j                         | j                  |j                         | j                  |j                         | j                  |j                  |j                         | j                  |j                         | j                  |j                         t        ||      }t	        |      }| j                  |j                         | j                  |j                         | j                  |j                         | j                  |j                  |j                         | j                  |j                         | j                  |j                         y 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'   :xzSGG	!#sE2x   		"(,,/$)%e,
z"  		"*..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   