Server IP : 192.158.238.246 / Your IP : 3.139.237.30 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python37/lib/python3.7/site-packages/nose/__pycache__/ |
Upload File : |
B � U� � @ sN d Z ddlZddlmZ e�e�Zdd� ZG dd� de�Z G dd � d e�Z dS ) a� Result Proxy ------------ The result proxy wraps the result instance given to each test. It performs two functions: enabling extended error/failure reporting and calling plugins. As each result event is fired, plugins are called with the same event; however, plugins are called with the nose.case.Test instance that wraps the actual test. So when a test fails and calls result.addFailure(self, err), the result proxy calls addFailure(self.test, err) for each plugin. This allows plugins to have a single stable interface for all test types, and also to manipulate the test object itself by setting the `test` attribute of the nose.case.Test that they receive. � N)�Configc s8 � �fdd�}� �fdd�}� �fdd�}t ||||�S )znCreate a property that proxies attribute ``proxied_attr`` through the local attribute ``local_attr``. c s t t | � ���S )N)�getattr)�self)� local_attr�proxied_attr� �;/opt/alt/python37/lib/python3.7/site-packages/nose/proxy.py�fget s zproxied_attribute.<locals>.fgetc s t t| � ��|� d S )N)�setattrr )r �value)r r r r �fset s zproxied_attribute.<locals>.fsetc s t t| � ��� d S )N)�delattrr )r )r r r r �fdel! s zproxied_attribute.<locals>.fdel)�property)r r �docr r r r )r r r �proxied_attribute s r c @ s"