opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
nose
/
plugins
/
__pycache__
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
__init__.cpython-312.pyc
6.40 KB
Rename
Delete
allmodules.cpython-312.pyc
2.30 KB
Rename
Delete
attrib.cpython-312.pyc
9.89 KB
Rename
Delete
base.cpython-312.pyc
30.22 KB
Rename
Delete
builtin.cpython-312.pyc
1.16 KB
Rename
Delete
capture.cpython-312.pyc
5.10 KB
Rename
Delete
collect.cpython-312.pyc
4.97 KB
Rename
Delete
cover.cpython-312.pyc
13.92 KB
Rename
Delete
debug.cpython-312.pyc
3.08 KB
Rename
Delete
deprecated.cpython-312.pyc
2.11 KB
Rename
Delete
doctests.cpython-312.pyc
21.00 KB
Rename
Delete
errorclass.cpython-312.pyc
9.29 KB
Rename
Delete
failuredetail.cpython-312.pyc
2.27 KB
Rename
Delete
isolate.cpython-312.pyc
5.18 KB
Rename
Delete
logcapture.cpython-312.pyc
12.53 KB
Rename
Delete
manager.cpython-312.pyc
21.72 KB
Rename
Delete
multiprocess.cpython-312.pyc
38.25 KB
Rename
Delete
plugintest.cpython-312.pyc
17.02 KB
Rename
Delete
prof.cpython-312.pyc
6.64 KB
Rename
Delete
skip.cpython-312.pyc
2.46 KB
Rename
Delete
testid.cpython-312.pyc
11.73 KB
Rename
Delete
xunit.cpython-312.pyc
16.28 KB
Rename
Delete
� ��g � �D � d Z ddlmZmZ G d� de� Z G d� de� Zy)a� This plugin installs a DEPRECATED error class for the :class:`DeprecatedTest` exception. When :class:`DeprecatedTest` is raised, the exception will be logged in the deprecated attribute of the result, ``D`` or ``DEPRECATED`` (verbose) will be output, and the exception will not be counted as an error or failure. It is enabled by default, but can be turned off by using ``--no-deprecated``. � )� ErrorClass�ErrorClassPluginc � � e Zd ZdZy)�DeprecatedTestz7Raise this exception to mark a test as deprecated. N)�__name__� __module__�__qualname__�__doc__� � �F/opt/hc_python/lib/python3.12/site-packages/nose/plugins/deprecated.pyr r s � ��r r c �6 � e Zd ZdZdZ eedd�� Zd� Zd� Z y) � Deprecatedze Installs a DEPRECATED error class for the DeprecatedTest exception. Enabled by default. T� DEPRECATEDF)�label� isfailurec �T � d}|j ddd|j |d� d�� y) z&Register commandline options. �NOSE_WITHOUT_DEPRECATEDz--no-deprecated� store_true�noDeprecatedFz6Disable special handling of DeprecatedTest exceptions.)�action�dest�default�helpN)� add_option�get)�self�parser�env�env_opts r �optionszDeprecated.options s6 � � ,�����+�L�-�s�w�w�w��7N� (� � )r c �Z � | j sy|| _ t |dd� }|rd| _ yy)zConfigure plugin. Nr F)� can_configure�conf�getattr�enabled)r r! r$ �disables r � configurezDeprecated.configure% s4 � � �!�!���� ��'�>�5�9��� �D�L� r N) r r r r r&