0x1949 Team - FAZEMRX - MANAGER
Edit File: _asyncrunner.cpython-310.pyc
o �b, � @ s d Z ddlZddlZddlZddlmZ ddlmZ ddl m Z mZ ddlm Z G dd� dej�Zee j�G d d � d e�e jd���Zdd � Zdd� ZG dd� de�ZG dd� de�ZG dd� de�Ze�eeje j� e�eeje j� eedd�Zer�e�eee j� dd� ZdS )z- Infrastructure for test running and suites. � N)�implementer)� components)�itrial�reporter)�_logObserverc @ � e Zd ZdZdd� ZdS )� TestSuitezh Extend the standard library's C{TestSuite} with a consistently overrideable C{run} method. c C s$ | j D ]}|jr |S ||� q|S )z; Call C{run} on every member of the suite. )�_tests� shouldStop)�self�result�test� r �</usr/lib/python3/dist-packages/twisted/trial/_asyncrunner.py�run s �z TestSuite.runN��__name__� __module__�__qualname__�__doc__r r r r r r � r c @ s e Zd ZdZdd� Zdd� ZdS )� TestDecoratorz� Decorator for test cases. @param _originalTest: The wrapped instance of test. @type _originalTest: A provider of L{itrial.ITestCase} c C s | � |�S �zQ Run the unit test. @param result: A TestResult object. )r �r r r r r �__call__3 s zTestDecorator.__call__c C s | j �t�|| j��S r )� _originalTestr r �_AdaptedReporter� __class__r r r r r ; s zTestDecorator.runN)r r r r r r r r r r r &