\bg ddlmZddlZddlmZmZedddddd ed d d id ed dddd dZej de dZ dZ dZ dS))cleandocN)SetuptoolsDeprecationWarningSetuptoolsWarning)z Hello {x}z {target} {v:.1f}World)xvtargetz Hello 5 !! ******************************************************************************** World 3.0 ******************************************************************************** !! )argskwargsexpected)Summary Lorem ipsumdue_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. ******************************************************************************** !! irrsome_page.html)rsee_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. ******************************************************************************** !! )defaultfutue_due_datepast_due_date_with_docs example_nameclt|d}t|d}t|d}|ddtjt5}t j|i|dddn #1swxYwYt |t|ksJdS)z] It should automatically handle indentation, interpolation and things like due date. r r rSETUPTOOLS_ENFORCE_DEPRECATIONfalseN) _EXAMPLESsetenvpytestwarnsremit _get_messager) monkeypatchrr r r warn_infos o/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/setuptools/tests/test_warnings.pytest_formattingr(=s \ "6 *D | $X .F&z2H7AAA ' ( (0I////000000000000000  " "hx&8&8 8 8 8 8 8 8s)BB B c4Gddt}|ddtjt5}|dddn #1swxYwYd}t |jt|ksJdS)NceZdZdZdZdZdZdS)1test_due_date_enforcement.._MyDeprecationrrrrN)__name__ __module__ __qualname___SUMMARY_DETAILS _DUE_DATE _SEE_DOCSr'_MyDeprecationr+Ms" " $ r4r5rtruer)rr r!raisesr#strvaluer)r%r5exc_infors r'test_due_date_enforcementr;Ls%%%%%5%%% 7@@@ 3 4 4H x~  (8"4"4 4 4 4 4 4 4sA$$A(+A(c4td|DS)Nc3:K|]}|jjdVdS)rN)messager ).0warns r' z_get_message..js,;; !!$;;;;;;r4)next)r&s r'r$r$is ;;;;; ; ;;r4)inspectrr!setuptools.warningsrrdictrmark parametrizekeysr(r;r$r3r4r'rIs! OOOOOOOOt 2Q'22    d 'N+ " $t '*8HII   A3 3  l)9)9:: 9 9;: 9555:<<<<