Team Ai
Datasetpublic

codekingpro/portable-devtools

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

2`j0���SSKrSSKrSSKrSSKrSSKrS\R3;rSr\RRS/S4S/S4/5S5r4S	r\S55rg)�N�__pypy__zRfrom setuptools import setup6 7setup(8    name="test_logging",9    version="0.0"10)11)�flags�expected_level�INFOz	--verbose�DEBUGc���SSKnSSKn[R"[5nUR[SU5 UR
5n[R"U5S:XdeUS-nUR[SS9 URRUSS	9n	US12/-U	lU	R5 UR
5n13[R"U145nX�:Xdeg)z:Make sure the correct verbosity level is set (issue #3038)rN�root�NOTSETzsetup.pyzutf-8)�encoding�init)�15stop_after�sdist)�16setuptools�	distutils�logging�Logger�__name__�setattr�getEffectiveLevel�getLevelName�17write_text�setup_py�core�	run_setup�script_args�parse_command_line)�tmp_path�monkeypatchrrrr�logger�unset_log_level�setup_script�dist�	log_level�log_level_names            �OD:\code\apps\devtools\python\Lib\site-packages\setuptools/tests/test_logging.py�test_verbosity_levelr&s���18��
�^�^�H�
%�F�������0��.�.�0�O�����0�H�<�<�<��j�(�L����H�w��7��>�>�#�#�L�V�#�D�D���y�(�D�������(�(�*�I��)�)�)�4�N��+�+�+�c�F^�[R"T5U4Sj5nU$)Nc�>�T"5 g![a( [(aSn[R"US35 ef=f)Nz!Flaky monkeypatch on PyPy (#4124)z&. Original discussion in #3707, #3709.)�AssertionError�IS_PYPY�pytest�xfail)�msg�funcs �r%�_func�flaky_on_pypy.<locals>._func.s=���	��F���	��w�9������u�$J�K�L��		�s��2=)�	functools�wraps)r/r0s` r%�
flaky_on_pypyr4-s%����_�_�T������Lr'c�b�SSKnSSKnSSKJn URR5 UR
5(aKURbSUR;de[UR[R5(deg[R"UR5(deg)Nr)r"r)
�_distutils_hack�setuptools.loggingrr"r�	configure�enabled�__file__�19isinstance�logr�inspect�ismodule)r6rr"s   r%�%test_patching_does_not_cause_problemsr?;s�������� � �"���� � ��}�}�$���
�
�(E�E�E��$�(�(�G�N�N�3�3�3�3�������)�)�)�)r')
r2r=r�sysr,�builtin_module_namesr+r�mark�parametrizer&r4r?�r'r%�<module>rEs|�����20�
�21��0�0�220����������2�v�,�+���0H�!I��,��,�*��*��*r'
codekingpro/portable-devtools · Team Ai