Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/twisted/trial/test/__pycache__/ |
Upload File : |
o �b\� � @ s� d Z ddlZddlZddlZddlZddlmZ ddlm Z m Z ddlmZ ddl mZ ddlmZmZmZmZ ddlmZmZmZ dd lmZ dd lmZ G dd� d�ZG d d� d�ZG dd� deej�ZG dd� deej�Z G dd� de�Z!G dd� de!ej�Z"G dd� de!ej�Z#G dd� de�Z$G dd� de$ej�Z%G dd� de$ej�Z&G dd � d e�Z'G d!d"� d"e'ej�Z(G d#d$� d$e'ej�Z)G d%d&� d&e�Z*G d'd(� d(e*ej�Z+G d)d*� d*e*ej�Z,G d+d,� d,e�Z-G d-d.� d.e-ej�Z.G d/d0� d0e-ej�Z/G d1d2� d2ej�Z0G d3d4� d4�Z1G d5d6� d6e1ej�Z2G d7d8� d8e1ej�Z3G d9d:� d:eej�Z4G d;d<� d<�Z5G d=d>� d>e5ej�Z6G d?d@� d@e5ej�Z7G dAdB� dBej�Z8G dCdD� dD�Z9G dEdF� dFe9ej�Z:G dGdH� dHe9ej�Z;G dIdJ� dJ�Z<G dKdL� dLe<ej�Z=G dMdN� dNe<ej�Z>G dOdP� dP�Z?G dQdR� dRe?ej�Z@G dSdT� dTe?ej�ZAG dUdV� dV�ZBG dWdX� dXeBej�ZCG dYdZ� dZeBej�ZDG d[d\� d\�ZEG d]d^� d^eEej�ZFG d_d`� d`eEej�ZGG dadb� dbej�ZHdS )ca� Tests for the behaviour of unit tests. Many tests in this module follow a simple pattern. A mixin is defined which includes test methods for a certain feature. The mixin is inherited from twice, once by a class also inheriting from SynchronousTestCase and once from a class inheriting from TestCase. These two subclasses are named like I{SynchronousFooTests} and I{AsynchronousFooTests}, where I{Foo} is related to the name of the mixin. Sometimes the mixin is defined in another module, along with the synchronous subclass. The mixin is imported into this module to define the asynchronous subclass. This pattern allows the same tests to be applied to the two base test case classes trial provides, ensuring their behavior is the same. Most new tests should be added in this pattern. Tests for functionality which is intentionally only provided by TestCase, not SynchronousTestCase, is excepted of course. � N)�StringIO)�defer�reactor)�_PYPY)�namedAny)�reporter�runner�unittest�util)�_clearSuite� _ForceGarbageCollectionDecorator� _iterateTests)� erroneous)�SuppressionMixinc @ �( e Zd ZdZdd� Zdd� Zdd� ZdS ) �ResultsTestMixinzG Provide useful APIs for test cases that are about test cases. c C s&