Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
hc_python
/
lib64
/
python3.12
/
site-packages
/
nose
/
plugins
/
__pycache__
[ HOME ]
Exec
Submit
File Name : skip.cpython-312.pyc
� ���g^ � � � d Z ddlmZmZ ddlmZ G d� de� Z y# e$ r! ddlmZ n# e$ r G d� de� ZY nw xY wY �1w xY w) a^ This plugin installs a SKIP error class for the SkipTest exception. When SkipTest is raised, the exception will be logged in the skipped attribute of the result, 'S' or 'SKIP' (verbose) will be output, and the exception will not be counted as an error or failure. This plugin is enabled by default but may be disabled with the ``--no-skip`` option. � )� ErrorClass�ErrorClassPlugin)�SkipTestc � � e Zd ZdZy)r z<Raise this exception to mark a test as skipped. N)�__name__� __module__�__qualname__�__doc__� � �@/opt/hc_python/lib/python3.12/site-packages/nose/plugins/skip.pyr r s � � �r r c �6 � e Zd ZdZdZ eedd�� Zd� Zd� Z y) �Skipa" Plugin that installs a SKIP error class for the SkipTest exception. When SkipTest is raised, the exception will be logged in the skipped attribute of the result, 'S' or 'SKIP' (verbose) will be output, and the exception will not be counted as an error or failure. T�SKIPF)�label� isfailurec �T � d}|j ddd|j |d� d�� y) z1 Add my options to command line. �NOSE_WITHOUT_SKIPz --no-skip� store_true�noSkipFz0Disable special handling of SkipTest exceptions.)�action�dest�default�helpN)� add_option�get)�self�parser�env�env_opts r �optionszSkip.options+ s5 � � &�����+�l�'�����%�1H� (� � )r c �Z � | j sy|| _ t |dd� }|rd| _ yy)zF Configure plugin. Skip plugin is enabled by default. Nr F)� can_configure�conf�getattr�enabled)r r! r$ �disables r � configurezSkip.configure5 s4 � � �!�!���� ��'�8�U�3��� �D�L� r N) r r r r r&