
    ,h                         d dl mZ d dlZd dlmZmZ  edddddd	
       edddid
       eddddd
      dZej                  j                  dej                               d        Zd Zd Zy)    )cleandocN)SetuptoolsDeprecationWarningSetuptoolsWarning)z	Hello {x}z
	{target} {v:.1f}      World)xvtargetz
    Hello 5
    !!

            ********************************************************************************
            World 3.0
            ********************************************************************************

    !!
    )argskwargsexpected)SummaryLorem ipsumdue_date)i'        a  
    Summary
    !!

            ********************************************************************************
            Lorem ipsum

            By 9999-Nov-22, you need to update your project and remove deprecated calls
            or your builds will no longer be supported.
            ********************************************************************************

    !!
    i  r   r   some_page.html)r   see_docs  
    Summary
    !!

            ********************************************************************************
            Lorem ipsum

            This deprecation is overdue, please update your project and remove deprecated
            calls to avoid build errors in the future.

            See https://setuptools.pypa.io/en/latest/some_page.html for details.
            ********************************************************************************

    !!
    )defaultfutue_due_datepast_due_date_with_docsexample_namec                 (   t         |   d   }t         |   d   }t         |   d   }| j                  dd       t        j                  t              5 }t	        j
                  |i | ddd       t              t        |      k(  sJ y# 1 sw Y   #xY w)z]
    It should automatically handle indentation, interpolation and things like due date.
    r   r   r   SETUPTOOLS_ENFORCE_DEPRECATIONfalseN)	_EXAMPLESsetenvpytestwarnsr   emit_get_messager   )monkeypatchr   r   r   r   	warn_infos         `/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/setuptools/tests/test_warnings.pytest_formattingr(   =   s    
 \"6*D|$X.F&z2H7A	'	( 0I//0	"hx&88880 0s   BBc                     G d dt               }| j                  dd       t        j                  t               5 }|j	                          d d d        d}t        j                        t        |      k(  sJ y # 1 sw Y   /xY w)Nc                       e Zd ZdZdZdZdZy)1test_due_date_enforcement.<locals>._MyDeprecationr   r   r   r   N)__name__
__module____qualname___SUMMARY_DETAILS	_DUE_DATE	_SEE_DOCS     r'   _MyDeprecationr+   M   s     "	$	r4   r5   r   truer   )r   r    r!   raisesr#   strvaluer   )r%   r5   exc_infor   s       r'   test_due_date_enforcementr;   L   sw    %5 % 7@	3	4 H x~~(8"4444% s   A::Bc                 &    t        d | D              S )Nc              3   N   K   | ]  }|j                   j                  d      yw)r   N)messager   ).0warns     r'   	<genexpr>z_get_message.<locals>.<genexpr>j   s     ;!!!$;s   #%)next)r&   s    r'   r$   r$   i   s    ;;;;r4   )inspectr   r!   setuptools.warningsr   r   dictr   markparametrizekeysr(   r;   r$   r3   r4   r'   <module>rI      s      O 2Q'2	 'N+"  $'*8HI A3	l )9:9 ;95:<r4   