
    9\hY              
           d Z ddlZddlZddlZddlmZ ddlmZ ddlm	Z	m
Z
  e
d            e	dd          5  ddlZddd           n# 1 swxY w Y    ej                     ej        ej                            d          d	           ej        ej        d
k    oej        d           ej        d           ej         ej                    d           G d dej                                                                              ZdS )z)Sanity-check tests for the "freeze" tool.    N)support)	os_helper)imports_under_toolskip_if_missingfreezetestwinznot supported on Windowsdarwinz,not supported for frameworks builds on macOSz#not all buildbots have enough spaceztest is too slow with PGOc                   @    e Zd Z ej        d          d             ZdS )
TestFreezecpuc                 6   t          j        d          }t          j                    5 }t	          j        ||          \  }}}t	          j        |||          }t	          j        |          }d d d            n# 1 swxY w Y   |                     |d           d S )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          E/opt/python-3.11.14/usr/lib/python3.11/test/test_tools/test_freeze.pytest_freeze_simple_scriptz$TestFreeze.test_freeze_simple_script   s     "  
 !! 	*V)/)G)G&FJvz6BBJ:j))D	* 	* 	* 	* 	* 	* 	* 	* 	* 	* 	* 	* 	* 	* 	* 	|,,,,,s   AA88A<?A<N)__name__
__module____qualname__r   requires_resourcer        r   r   r      s=         Wu%%
- 
- &%
- 
- 
-r$   r   )__doc__sysr   unittestr   r   test.supportr   test.test_toolsr   r   r   r   requires_zlibskipIfplatform
startswith
_frameworkskip_if_buildbotcheck_cflags_pgoTestCaser   r#   r$   r   <module>r2      s   / / 



         " " " " " " ? ? ? ? ? ? ? ?    &))                 ((//1KLL)<cn68 8?@@ ))++,. .- - - - -" - -. . A@8 8 ML - - -s   AAA