3
$ßL]r  ã               @   s.   d dl jZd dlZdd„ Zdd„ Zdd„ ZdS )é    Nc              C   sH   t jddƒ} | d | d ks t‚| d d …df | d d …df ksDt‚d S )Né   é   r   )r   r   )r   r   )ÚgridspecÚGridSpecÚAssertionError)Zgs© r   úF/tmp/pip-install-edjban26/matplotlib/matplotlib/tests/test_gridspec.pyÚ
test_equal   s    r	   c               C   s0   t jtƒ� tjdddddgd� W dQ R X dS )za
    Addresses issue #5835.
    See at https://github.com/matplotlib/matplotlib/issues/5835.
    r   r   é   )Zwidth_ratiosN)ÚpytestÚraisesÚ
ValueErrorr   r   r   r   r   r   Útest_width_ratios   s    r   c               C   s0   t jtƒ� tjdddddgd� W dQ R X dS )za
    Addresses issue #5835.
    See at https://github.com/matplotlib/matplotlib/issues/5835.
    r   r   r
   )Zheight_ratiosN)r   r   r   r   r   r   r   r   r   Útest_height_ratios   s    r   )Zmatplotlib.gridspecr   r   r	   r   r   r   r   r   r   Ú<module>   s   
	