
    dh                         d dl Zd dlZd dlZd dlmZmZ ej        d             Zej        d             Z	ej        d             Z
ej        d             Zej        d             ZdS )    N)Index
MultiIndexc                      t          g d          } t          ddg          }t          j        g d          }t          j        g d          }ddg}t          | |g||g|d	          }|S )
Nfoobarbazquxonetwo)r   r            r   r   r   r   r   r   r   firstsecondFlevelscodesnamesverify_integrityr   nparrayr   
major_axis
minor_axismajor_codesminor_codesindex_namesmis         _/var/www/html/t/fyr/venv311/lib/python3.11/site-packages/pandas/tests/indexes/multi/conftest.pyidxr#      s     33344Ju~&&J(---..K(---..KH%K	J'K(	
 
 
B I    c                      t          g d          } t          ddg          }t          j        g d          }t          j        g d          }ddg}t          | |g||g|d	          }|S )
Nr   r   r   )r   r   r   r   r   r   r   r   r   Fr   r   r   s         r"   idx_dupr&      s     33344Ju~&&J(---..K(---..KH%K	J'K(	
 
 
B Ir$   c                  
    ddgS )Nr   r    r(   r$   r"   r    r    1   s     Xr$   c                      d} t          j        t          d| z            dg| z  z             }t          j        dd| dz            }t	          j        ||j        dz   |gg d	
          S )zQ
    Return a MultiIndex that is narrower than the display (<80 characters).
      aabc
2000-01-01sr   freqperiods	   )r+   bdtir   )pdCategoricalIndexlist
date_ranger   from_arraysr   )ncir4   s      r"   narrow_multi_indexr=   8   sr    
 	A		T#']]ugk:	;	;B
-3A
>
>
>C!2rx!|S"9ARARARSSSSr$   c                      d} t          j        t          d| z            dg| z  z             }t          j        dd| dz            }||j        dz   |||g}g d	}t          j        ||
          S )zN
    Return a MultiIndex that is wider than the display (>80 characters).
    r*   r+   r,   r-   r.   r   r/   r2   )r+   r3   dti_1dti_2dti_3r5   )r6   r7   r8   r9   r   r   r:   )r;   r<   r4   r   r   s        r"   wide_multi_indexrB   C   s    
 	A		T#']]ugk:	;	;B
-3A
>
>
>C"(Q,S#.F111E!&6666r$   )numpyr   pytestpandasr6   r   r   fixturer#   r&   r    r=   rB   r(   r$   r"   <module>rG      s                      $   "    T T T 	7 	7 	7 	7 	7r$   