HEX
Server: Apache
System: Linux bd12.noc223.com 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: handcraf (1693)
PHP: 8.1.28
Disabled: NONE
Upload Files
File: //opt/alt/python312/lib64/python3.12/test/test_tools/__pycache__/test_freeze.cpython-312.opt-2.pyc
�

h�eY�
� �	ddlZddlZddlZddlmZddlmZddlmZm	Z	e	d�edd�5ddl
Zddd�ej�ejejjd�d�ejejd	k(xrej d
�ej"d�ejej$�d�Gd
�dej&������Zy#1swY��xYw)�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��Zy)�
TestFreeze�cpuc�0�tjd�}tj�5}t	j
||�\}}}t	j|||�}t	j|�}ddd�|jd�y#1swY�xYw)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/python312/lib64/python3.12/test/test_tools/test_freeze.py�test_freeze_simple_scriptz$TestFreeze.test_freeze_simple_scripts������"���
�
�
�
!�	*�V�)/�����)G�&�F�J�����v�z�6�B�J��:�:�j�)�D�	*�	
����|�,�		*�	*�s�AB�BN)�__name__�
__module__�__qualname__r�requires_resourcer��rrrs#���W���u�%�
-�&�
-r$r)�sysr�unittestrr�test.supportr�test.test_toolsrrrr�
requires_zlib�skipIf�platform�
startswith�
_framework�skip_if_buildbot�check_cflags_pgo�TestCaserr#r$r�<module>r1s���/�
����"�?������&�)����������������(�(��/�1K�L���������)�<�c�n�n�6�8�����?�@�����)��)�)�+�,�.�
-��"�"�
-�.�A�8�M��
-���s�D�D