관리-도구
편집 파일: findpaths.cpython-311.pyc
� �܋f� � � � d dl Z d dlZd dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlm Z d dlm Z d d lmZ d d lmZ d dl Z ddlmZ d d lmZ d dlmZ d dlmZ erddlmZ dede j fd�Zdedeeeeeee f f fd�Zdee de ee ee eeeeee f f f fd�Zdee defd�Zdee dee fd�ZdZ d#dee de e dee ded de eee eeeeee f f f f d �Zd!ede fd"�Z!dS )$� N)�Path)�Dict)�Iterable)�List)�Optional)�Sequence)�Tuple)� TYPE_CHECKING)�Union� )� UsageError)�fail��absolutepath)� commonpath)�Config�path�returnc � � t j t | � � � � S # t j $ r"}t t |� � � � |�d}~ww xY w)z�Parse the given generic '.ini' file using legacy IniConfig parser, returning the parsed object. Raise UsageError if the file cannot be parsed. N)� iniconfig� IniConfig�str� ParseErrorr )r �excs �i/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/_pytest/config/findpaths.py�_parse_ini_configr sV � �,��"�3�t�9�9�-�-�-���� ,� ,� ,���S���"�"��+�����,���s � # �A�A�A�filepathc � �� | j dk rIt | � � }d|v r't |d � � � � � S | j dk ri S �n�| j dk rtt | � � }d|j v r't |d � � � � � S d|j v r*t t � d�� � d� � � �n| j d k r�t j dk rdd l}ndd l}| � d�� � } |� |� � }n'# |j $ r}t! | � d|� �� � |�d }~ww xY w|� di � � � di � � � dd � � }|�Odt$ dt&