HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/greenlet/tests/__pycache__/test_version.cpython-310.pyc
o

���g;�@sPddlmZddlmZddlZddlZddlmZddlZGdd�de�Z	dS)�)�absolute_import)�print_functionN)�TestCasec@seZdZdd�ZdS)�VersionTestsc
Cs�dd�}z|d�}Wnty%}z|�dt|��WYd}~nd}~wwdtj|f}t�|��}|����}Wd�n1sCwY|�	|t
j�dS)NcSs�tj�|�r|Sg}tj�tj�t��}td�D]*}dg|}|g||g}tjj|�}tj�|�}|�|�tj�|�rB|Sqt	d|dt
|���)N�
z..zCould not find file z
; checked )�os�path�exists�abspath�dirname�__file__�range�join�append�AssertionError�str)�name�tried�here�i�upr�fname�r�F/usr/local/lib/python3.10/dist-packages/greenlet/tests/test_version.py�find_dominating_files

�z7VersionTests.test_version.<locals>.find_dominating_filezsetup.pyz.Unable to find setup.py; must be out of tree. z%s %s --version)r�skipTestr�sys�
executabler�popen�read�strip�assertEqual�greenlet�__version__)�selfr�setup_py�e�invoke_setup�f�sversionrrr�test_versions���zVersionTests.test_versionN)�__name__�
__module__�__qualname__r*rrrrr
sr)
�
__future__rrrr�unittestr�NonLeakingTestCaser"rrrrr�<module>s