%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/python/test/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/python/test/__pycache__/test_release.cpython-312.pyc |
� Ϫ�f�@ � �� � 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"