관리-도구
편집 파일: compat.cpython-311.pyc
� �܋fY � � � d dl Z d dlZd dlmZ d dlmZ ddlmZ ddlmZ ddl m Z d dlmZ d d dddd �Z G d� d� � ZdS )� N)�Path)�Optional� )�LEGACY_PATH)�legacy_path)�HOOK_LEGACY_PATH_ARG)�_check_path)�collection_path�path)� file_pathr )�module_pathr )� start_path�startdir)�pytest_ignore_collect�pytest_collect_file�pytest_pycollect_makemodule�pytest_report_header�pytest_report_collectionfinishc �2 � e Zd ZdZd� Zd� Zej fd�ZdS )�PathAwareHookProxyz� this helper wraps around hook callers until pluggy supports fixingcalls, this one will do it currently doesn't return full hook caller proxies for fixed hooks, this may have to be changed later depending on bugs c � � || _ d S �N)� _PathAwareHookProxy__hook_caller)�self�hook_callers �f/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/_pytest/config/compat.py�__init__zPathAwareHookProxy.__init__ s � �(����� c �* � t | j � � S r )�dirr )r s r �__dir__zPathAwareHookProxy.__dir__! s � ��4�%�&�&�&r c �� ���� t | j |� � �|t vr�| j |<