| Server IP : 138.197.176.125 / Your IP : 216.73.217.55 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/twisted/trial/test/__pycache__/ |
Upload File : |
U
��W[�` � @ sL d Z ddlmZmZ ddlZddlZddlmZ ddlm Z ddl
mZ ddlm
Z
ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZ dd
lmZmZmZmZ G dd� de�ZG dd� de�ZG dd� de�ZG dd� de �Z!G dd� de �Z"G dd� de�Z#G dd� de�Z$G dd� de�Z%G dd� de�Z&G d d!� d!e�Z'dS )"z!
Tests for L{twisted.trial.util}
� )�division�absolute_importN)�implementer)�NativeStringIO)�filepath)�IProcessTransport)�defer)�DelayedCall)�Failure)�SynchronousTestCase)�util)�DirtyReactorAggregateError�_Janitor�excInfoOrFailureToExcInfo�acquireAttributec @ s0 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 s: | � � }tj�|��tj�dd� }| �|dddg� 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 ZassertNotEqual)r r r r r �test_unique. s zMktempTests.test_uniquec C s<