| Server IP : 74.208.250.37 / Your IP : 216.73.216.114 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : miferval ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/python/test/__pycache__/ |
Upload File : |
�
oj�@ � �� � d Z ddlZddlZddlZddlZddlZddlZddlmZ ddl m
Z
ddlmZm
Z
mZmZmZmZmZmZmZ ddlmZ ddlmZ ej2 dk7 rdZnd Zd
ej6 d d�Zd
ej6 d d�ZdZ G d� de� Zd� Zd� Z d� Z! G d� d� Z" G d� de� Z# G d� de� Z$ G d� de� Z% G d� de"� Z& G d� de&e� Z' G d � d!e� Z( G d"� d#e� Z)y)$z�
Tests for L{twisted.python.release} and L{twisted.python._release}.
All of these tests are skipped on platforms other than Linux, as the release is
only ever performed on Linux.
� N)�Version)�release) �
GitCommand�IVCSCommand�NotWorkingDirectory�Project�
filePathDelta�findTwistedProjects�getRepositoryCommand�
replaceInFile�
runCommand)�FilePath)�TestCase�win32z*Release toolchain only supported on POSIX.zpre-commit-ci-update-config�PATH)�GITHUB_HEAD_REFr z1234-some-branch-name�Not relevant within Debian.c � � e Zd ZdZd� Zy)�ExternalTempdirTestCasez�
A test case which has mkdir make directories outside of the usual spot, so
that Git commands don't interfere with the Twisted checkout.
c � � t j t j � �� }| j t j
|� |S )z)
Make our own directory.
)�dir)�tempfile�mkdtemp�
gettempdir�
addCleanup�shutil�rmtree)�self�newDirs �B/usr/lib/python3/dist-packages/twisted/python/test/test_release.py�mktempzExternalTempdirTestCase.mktemp; s4 � � �!�!�h�&9�&9�&;�<������
�
�v�.��
� N)�__name__�
__module__�__qualname__�__doc__r! � r"