o
    5c                     @   sf   d dl Z e dZd dlmZmZ d dlmZ e jdd Z	e jdd Z
d	d
 Zdd Zdd ZdS )    Njinja2)	DataFrame
MultiIndexStylerc                   C   s"   t ddgddggddgddgd	S )
Nr   grh|   gSABxy)datacolumnsindex)r    r   r   c/var/www/html/gps/gps/lib/python3.10/site-packages/pandas/tests/io/formats/style/test_exceptions.pydf   s
   r   c                 C   s   t | ddS )Nr   )uuid_lenr   )r   r   r   r   styler   s   r   c                 C   sN   d}t jt|d | tddggj W d    d S 1 s w   Y  d S )Nz3`other.data` must have same columns as `Styler.datamatchr      )pytestraises
ValueErrorconcatr   styler   msgr   r   r   test_concat_bad_columns   s   "r   c                 C   sL   d}t jt|d | tddgg W d    d S 1 sw   Y  d S )Nz `other` must be of type `Styler`r   r   r   )r   r   	TypeErrorr   r   r   r   r   r   test_concat_bad_type!   s   "r    c                 C   s\   |  }tddg|_d}tjt|d | |j W d    d S 1 s'w   Y  d S )N)r   r   )r   r   z.number of index levels must be same in `other`r   )	copyr   from_tuplesr   r   r   r   r   r   )r   r   r   r   r   r   test_concat_bad_index_levels'   s   "r#   )r   importorskipr   pandasr   r   pandas.io.formats.styler   fixturer   r   r   r    r#   r   r   r   r   <module>   s    


