Your IP : 216.73.216.52


Current Path : /opt/alt/python38/lib64/python3.8/test/__pycache__/
Upload File :
Current File : //opt/alt/python38/lib64/python3.8/test/__pycache__/test_osx_env.cpython-38.opt-2.pyc

U

i�f0�@snddlmZddlZddlZddlZddlZe�ejdkoBe�d�d�Gdd�dej	��Z
edkrje��dS)	�)�EnvironmentVarGuardN�darwinZWITH_NEXT_FRAMEWORKzunnecessary on this platformc@s&eZdZejdfdd�Zdd�ZdS)�OSXEnvironmentVariableTestCaseZdummyc	Cs�t��z}ttj�dd|||fg}|�|�t�|�}|�|dd|||f�|�||�t�|�}|�|dd|||f�W5QRXdS)Nz-cz,import sys; sys.exit(2 if "%s" %s %s else 3)�zexpected %s not %s %s�zexpected %s %s %s)	r�str�sys�
executableZunset�
subprocessZcallZassertEqual�set)�selfZevZcondZsv�valZevgZsubpcZrc�r�6/opt/alt/python38/lib64/python3.8/test/test_osx_env.py�
_check_syss
�


z)OSXEnvironmentVariableTestCase._check_syscCs|�ddd�dS)NZPYTHONEXECUTABLEz==zsys.executable)r)rrrr�)test_pythonexecutable_sets_sys_executableszHOSXEnvironmentVariableTestCase.test_pythonexecutable_sets_sys_executableN)�__name__�
__module__�__qualname__rr	rrrrrrrsr�__main__)
Ztest.supportrr
rZ	sysconfigZunittestZ
skipUnless�platformZget_config_varZTestCaserr�mainrrrr�<module>s�