a
    6Rh?                     @  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   M/opt/python-3.9.24/usr/lib/python3.9/site-packages/setuptools/command/test.py__getattr__   s    r   c                   @  s4   e Zd ZdZdZg d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   