OwlCyberSecurity - MANAGER
Edit File: result.cpython-312.pyc
� @��gU � � � d Z ddlZ ddlmZ ddlmZ ddlm Z m Z ej d� Z d� Z G d� d e� Zd � Z y# e$ r ddlmZ Y �?w xY w)z� Test Result ----------- Provides a TextTestResult that extends unittest's _TextTestResult to provide support for error classes (such as the builtin skip and deprecated classes), and hooks for plugins to take over or extend reporting. � N)�_TextTestResult)�Config)�isclass�lnznose.resultc �X � t | � S # dt | � j z cY S xY w)Nz<unprintable %s object>)�str�type�__name__)�excs �:/opt/hc_python/lib/python3.12/site-packages/nose/result.py�_exception_detailr s, � �>��3�x���>�(�4��9�+=�+=�=�=�s � �)c �V � e Zd ZdZ d d�Zd� Zd� Zd� Zdd�Zd� Z d � Z d � Zd� Zdd�Z y)�TextTestResultz�Text test result that extends unittest's default test result support for a configurable set of errorClasses (eg, Skip, Deprecated, TODO) that extend the errors/failures/success triad. Nc �p � |�i }|| _ |� t � }|| _ t j | |||� y �N)�errorClassesr �configr �__init__)�self�stream�descriptions� verbosityr r s r r zTextTestResult.__init__$ s<