
    Pi                     <    d dl Zd dlZd dlmZ  G d d          ZdS )    N)	DataFramec                   f    e Zd Zej                            dddg          d             Zd Zd ZdS )TestCopyattrindexcolumnsc                     t          ||          }d |_        |                                }dt          ||          _        t          ||          j        J d S )Nfoo)getattrnamecopy)selffloat_framer   indcps        x/home/jaya/work/projects/VOICE-AGENT/VIET/agent-env/lib/python3.11/site-packages/pandas/tests/frame/methods/test_copy.pytest_copy_index_name_checkingz&TestCopy.test_copy_index_name_checking   s\     k4((!&D{D)).66666    c                     |                                 }|d         |d<   d|vsJ |                                 }|j        |j        usJ d S )NAE)r   _mgr)r   r   float_string_framecopr   s        r   	test_copyzTestCopy.test_copy   sa      s8C+%%%% "&&((y 2 7777777r   c                 F   t          t          j                            d                              ddd          t          j                            d                              ddd          d          }t          d          D ]F}t          j                            d                              ddd          |j        d d d| f<   Gt          |j        j	                  d	k    sJ |
                                }t          |j        j	                  d
k    sJ d S )N   r   d   7   )size)ab
   n_      )r   nprandomdefault_rngintegersrangeloclenr   blocksr   )r   dfiresults       r   test_copy_consolidateszTestCopy.test_copy_consolidates   s   Y**1--66q#B6GGY**1--66q#B6GG 
 
 r 	U 	UA"$)"7"7":":"C"CAsQS"C"T"TBF111h1hh;27>""b((((6;%&&!++++++r   N)	__name__
__module____qualname__pytestmarkparametrizer   r   r2    r   r   r   r      sc        [Vgy%9::7 7 ;:78 8 8, , , , ,r   r   )numpyr'   r6   pandasr   r   r9   r   r   <module>r<      s^              ", ", ", ", ", ", ", ", ", ",r   