Your IP : 216.73.216.213


Current Path : /opt/alt/python311/lib64/python3.11/test/test_tools/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/test/test_tools/__pycache__/test_freeze.cpython-311.opt-1.pyc

�

�0�iY�
� �dZddlZddlZddlZddlmZddlmZddlm	Z	m
Z
e
d��e	dd��5ddlZddd��n#1swxYwYej
��ejej�d��d	��ejejd
koejd��ejd��ejej��d
��Gd�dej������������ZdS)z)Sanity-check tests for the "freeze" tool.�N)�support)�	os_helper)�imports_under_tool�skip_if_missing�freeze�test�winznot supported on Windows�darwinz,not supported for frameworks builds on macOSz#not all buildbots have enough spaceztest is too slow with PGOc�@�eZdZejd��d���ZdS)�
TestFreeze�cpuc�6�tjd��}tj��5}t	j||��\}}}t	j|||��}t	j|��}ddd��n#1swxYwY|�|d��dS)Nz\
            import sys
            print('running...')
            sys.exit(0)
            z
running...)	�textwrap�dedentr�temp_dir�helper�preparer�run�assertEqual)�self�script�outdir�
scriptfile�python�
executable�texts       �B/opt/alt/python311/lib64/python3.11/test/test_tools/test_freeze.py�test_freeze_simple_scriptz$TestFreeze.test_freeze_simple_scripts�����"����
�
�
!�
!�	*�V�)/����)G�)G�&�F�J����v�z�6�B�B�J��:�j�)�)�D�	*�	*�	*�	*�	*�	*�	*�	*�	*�	*�	*����	*�	*�	*�	*�	
����|�,�,�,�,�,s�AA8�8A<�?A<N)�__name__�
__module__�__qualname__r�requires_resourcer��rrrs=�������W��u�%�%�
-�
-�&�%�
-�
-�
-r$r)�__doc__�sysr�unittestrr�test.supportr�test.test_toolsrrrr�
requires_zlib�skipIf�platform�
startswith�
_framework�skip_if_buildbot�check_cflags_pgo�TestCaserr#r$r�<module>r2s���/�/�
�
�
�
���������������"�"�"�"�"�"�?�?�?�?�?�?�?�?����������&�)�)�����������������������������������(�(��/�/�1K�L�L�������)�<�c�n�6�8�8����?�@�@����)��)�+�+�,�.�.�
-�
-�
-�
-�
-��"�
-�
-�.�.�A�@�8�8�M�L���
-�
-�
-s�A�A�A