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�L � @ s d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl m Z ddlmZ ddl mZ dd lmZ dd lmZ ddlmZmZmZmZ G dd � d e�ZG dd� de�ZG dd� d�ZG dd� d�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�Z dS )z! Tests for L{twisted.trial.util} � N)�StringIO)�implementer)�DelayedCall)�IProcessTransport)�filepath)�Failure)�util)�SynchronousTestCase)�DirtyReactorAggregateError�_Janitor�acquireAttribute�excInfoOrFailureToExcInfoc @ �0 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd S )�MktempTestszm Tests for L{TestCase.mktemp}, a helper function for creating temporary file or directory names. c C s8 | � � }tj�|��tj�dd� }| �|g d�� dS )z� The path name returned by C{mktemp} is directly beneath a directory which identifies the test method which created the name. N���)ztwisted.trial.test.test_utilr � test_name)�mktemp�os�path�dirname�split�sep�assertEqual)�self�name�dirs� r �>/usr/lib/python3/dist-packages/twisted/trial/test/test_util.pyr $ s �zMktempTests.test_namec C s | � � }| �|| � � � dS )zF Repeated calls to C{mktemp} return different values. N)r �assertNotEqual)r r r r r �test_unique/ s zMktempTests.test_uniquec C s<