a
    m¬zfœ  ã                   @   sv   d Z ddlZddlmZ ddlmZmZmZmZ ej	 
ddg fderHd	nerPd
nerXdn
er`dndff¡dd„ ƒZdS )z"Test suite for ``cheroot.errors``.é    N)Úerrorsé   )ÚIS_LINUXÚIS_MACOSÚ
IS_SOLARISÚ
IS_WINDOWS)Ú	err_namesÚerr_nums)Ú zsome-nonsense-name)Ú
EPROTOTYPEÚEAGAINÚEWOULDBLOCKZWSAEWOULDBLOCKÚEPIPE)é[   é   é    )r   é#   é)   )éb   r   r   )r   i9'  r   i3'  © c                 C   s6   t j| Ž }t|ƒt|ƒksJ ‚t|ƒt|ƒks2J ‚dS )zCTest that ``plat_specific_errors`` gets correct error numbers list.N)r   Zplat_specific_errorsÚlenÚsorted)r   r	   Zactual_err_numsr   r   úF/var/www/media/lib/python3.9/site-packages/cheroot/test/test_errors.pyÚtest_plat_specific_errors
   s    
r   )Ú__doc__ZpytestZcherootr   Ú_compatr   r   r   r   ÚmarkZparametrizer   r   r   r   r   Ú<module>   s    ÷þþ