| Server IP : 46.101.140.223 / Your IP : 216.73.217.61 Web Server : nginx/1.22.1 System : Linux debian-s-1vcpu-1gb-fra1-01 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : deploy-others ( 1001) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/_pytest/__pycache__/ |
Upload File : |
�
��c � � � d Z ddlZddlZddlZddlZddlmZ ddlmZ ddl Z ddlm
Z
ddlmZ ddlmZ dd lm
Z
dd
lmZ ddlmZ ddlmZ dd
lmZ ddlmZ ddlmZ e e j d�� � G d� d� � � � � � Zdee fd�Zdeddfd�Z ed�� � dedefd�� � Zdededefd�Zedededefd�� � Z dS ) z>Support for providing temporary directories to test functions.� N)�Path)�Optional� )�LOCK_TIMEOUT)�make_numbered_dir)�make_numbered_dir_with_cleanup)�rm_rf)�final)�Config)�check_ispytest)�fixture)�FixtureRequest)�MonkeyPatchF)�initc
�" � e Zd ZdZ ej ee �� � Z ej � � Z ej ee �� � Z
ddd�dee dee ded dfd
�Ze
dd�deded d fd�� � Zd
ed efd�Zdd
eded efd�Zd efd�ZdS )�TempPathFactoryz�Factory for temporary directories under the common base temp directory.
The base directory can be configured using the ``--basetemp`` option.
)�typeNF�� _ispytest�given_basetemp�basetempr �returnc �� � t |� � |�d | _ n>t t j � t
|� � � � � � | _ || _ || _ d S �N) r �_given_basetempr �os�path�abspath�str�_trace� _basetemp)�selfr �tracer r s �0/usr/lib/python3/dist-packages/_pytest/tmpdir.py�__init__zTempPathFactory.__init__# s] � � �y�!�!�!��!�#'�D� � �
$(������N�8K�8K�(L�(L�#M�#M�D� ����!����� �configc � � t |� � | |j j |j � d� � d�� � S )zTCreate a factory according to pytest configuration.
:meta private:
�tmpdirT)r r# r )r �optionr r# �get)�clsr'