U
    f                     @   s4   d dl mZ d dlmZ dd ZG dd deZdS )    )Command)SetuptoolsDeprecationWarningc                 C   s*   | dkrt jddddd tS t| d S )NZ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)name r   6lib/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__ZdescriptionZuser_optionsr   r   r   r   r   r   r   r	      s   
r	   N)Z
setuptoolsr   Zsetuptools.warningsr   r   r	   r   r   r   r   <module>   s   