U
    aÊ¹j?  ã                   @  sH   d dl mZ d dlmZ d dlmZ dddœdd„ZG d	d
„ d
eƒZdS )é    )Úannotations)ÚCommand)ÚSetuptoolsDeprecationWarningÚstrztype[_test])ÚnameÚreturnc                 C  s*   | dkrt jddddd� tS t| ƒ‚d S )NÚtestzAThe test command is disabled and references to it are deprecated.zlPlease remove any references to `setuptools.command.test` in all supported versions of the affected package.)iè  é   é   é   )Zdue_dateÚ
stacklevel)r   ÚemitÚ_testÚAttributeError)r   © r   úV/var/www/html/bwave/python/venv/lib/python3.8/site-packages/setuptools/command/test.pyÚ__getattr__   s    ûr   c                   @  s6   e Zd ZdZdZdddgZdd„ Zdd	„ Zd
d„ ZdS )r   z?
    Stub to warn when test command is referenced or used.
    z&stub for old test command (do not use))ztest-module=Úmz$Run 'test_suite' in specified module)ztest-suite=Úsz9Run single test, case or suite (e.g. 'module.test_suite'))ztest-runner=ÚrzTest runner to usec                 C  s   d S ©Nr   ©Úselfr   r   r   Úinitialize_options&   s    z_test.initialize_optionsc                 C  s   d S r   r   r   r   r   r   Úfinalize_options)   s    z_test.finalize_optionsc                 C  s   t dƒ‚d S )Nz9Support for the test command was removed in Setuptools 72)ÚRuntimeErrorr   r   r   r   Úrun,   s    z	_test.runN)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚdescriptionÚuser_optionsr   r   r   r   r   r   r   r      s   ù
r   N)Ú
__future__r   Ú
setuptoolsr   Zsetuptools.warningsr   r   r   r   r   r   r   Ú<module>   s   