Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/twisted/spread/test/__pycache__/test_pbfailure.cpython-39.pyc
Ðазад
a k�h; � @ sj d Z ddlmZ ddlmZmZ ddlmZ ddlm Z ddl mZmZm Z ddlmZ G dd � d e�ZG d d� de�ZG dd � d e j�ZG dd� de j�ZG dd� deje je j�ZG dd� de je j�Ze �ee� e �ee� e j�e� G dd� de j�ZG dd� de j�Z G dd� dej!�Z"G dd� de"�Z#G dd� de#�Z$G dd� d�Z%G d d!� d!ej!�Z&d"S )#z! Tests for error handling in PB. � )�StringIO)�defer�reactor)�log)�qual)�flavors�jelly�pb)�unittestc @ s e Zd ZdZdS )�AsynchronousExceptionz� Helper used to test remote methods which return Deferreds which fail with exceptions which are not L{pb.Error} subclasses. N��__name__� __module__�__qualname__�__doc__� r r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/twisted/spread/test/test_pbfailure.pyr s r c @ s e Zd ZdZdS )�SynchronousExceptionzm Helper used to test remote methods which raise exceptions which are not L{pb.Error} subclasses. Nr r r r r r s r c @ s e Zd ZdZdS )�AsynchronousErrorz� Helper used to test remote methods which return Deferreds which fail with exceptions which are L{pb.Error} subclasses. Nr r r r r r ! s r c @ s e Zd ZdZdS )�SynchronousErrorzi Helper used to test remote methods which raise exceptions which are L{pb.Error} subclasses. Nr r r r r r ( s r c @ s e Zd ZdS )� JellyErrorN�r r r r r r r r / s r c @ s e Zd ZdS )� SecurityErrorNr r r r r r 3 s r c @ sh e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� Zddd�Zddd�Z dS )� SimpleRootc C s t �td��S )zD Fail asynchronously with a non-pb.Error exception. zremote asynchronous exception)r �failr ��selfr r r �remote_asynchronousException>