Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
test_warnings.cpython-313.pyc53 linesDownload Raw Back to __pycache__
1�

2`j
����SSKJr SSKrSSKJrJr \"SSSSS.S	S39\"SSS
0SS49\"SSSS.SS59S.r\RRS\R55S5rSrSr
g)�)�cleandocN)�SetuptoolsDeprecationWarning�SetuptoolsWarning)z	Hello {x}z6	{target} {v:.1f}���World)�x�v�targetz�7    Hello 58    !!9 10            ********************************************************************************11            World 3.012            ********************************************************************************13 14    !!15    )�args�kwargs�expected)�Summary�Lorem ipsum�due_date)i'��a�16    Summary17    !!18 19            ********************************************************************************20            Lorem ipsum21 22            By 9999-Nov-22, you need to update your project and remove deprecated calls23            or your builds will no longer be supported.24            ********************************************************************************25 26    !!27    �i�rr�some_page.html)r�see_docs��28    Summary29    !!30 31            ********************************************************************************32            Lorem ipsum33 34            This deprecation is overdue, please update your project and remove deprecated35            calls to avoid build errors in the future.36 37            See https://setuptools.pypa.io/en/latest/some_page.html for details.38            ********************************************************************************39 40    !!41    )�default�futue_due_date�past_due_date_with_docs�example_namec�8�[USn[USn[USnURSS5 [R"[5n[R42"U0UD6 SSS5 [
W5[U5:Xdeg!,(df   N)=f)zU43It should automatically handle indentation, interpolation and things like due date.44rr
r�SETUPTOOLS_ENFORCE_DEPRECATION�falseN)�	_EXAMPLES�setenv�pytest�warnsr�emit�_get_messager)�monkeypatchrrr
r�	warn_infos      �PD:\code\apps\devtools\python\Lib\site-packages\setuptools/tests/test_warnings.py�test_formattingr(=s���45�\�"�6�*�D�
�|�
$�X�
.�F���&�z�2�H����7��A�	���'�	(�I�����/��/�46)��	�"�h�x�&8�8�8�8�47)�	(�s�B�48Bc��"SS[5nURSS5 [R"[5nUR	5 SSS5 Sn[WR5[U5:Xdeg!,(df   N5=f)Nc�$�\rSrSrSrSrSrSrSrg)�1test_due_date_enforcement.<locals>._MyDeprecation�Mrrrr�N)	�__name__�49__module__�__qualname__�__firstlineno__�_SUMMARY�_DETAILS�	_DUE_DATE�	_SEE_DOCS�__static_attributes__r-�r'�_MyDeprecationr+Ms���� ��"�	�$�	r7r8r�truer)rr r!�raisesr#�str�valuer)r%r8�exc_infors    r'�test_due_date_enforcementr>Lsp��%�5�%����7��@�	���3�	4������505��H��x�~�~��(�8�"4�4�4�4�%515�	4�s�A<�<52B53c�&�[SU55$)Nc3�R# �UHoRRSv� M g7f)rN)�messager)�.0�warns  r'�	<genexpr>�_get_message.<locals>.<genexpr>js���;�����!�!�!�$��s�%')�next)r&s r'r$r$is���;��;�;�;r7)�inspectrr!�setuptools.warningsrr�dictr�mark�parametrize�keysr(r>r$r-r7r'�<module>rMs����
�O��
2��Q�'�2�	�
��
'��N�+���" $�
'�*�8H�I�� �A3
�	�l���������)9�:�9�;�9�5�:<r7
codekingpro/portable-devtools · Team Ai