HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/zope/component/tests/__pycache__/test_standalone.cpython-310.pyc
o

,�W�	�@sRdZddlZzddlZWneydZYnwdZGdd�dej�Zdd�ZdS)	zComponent Architecture Tests
�NFTc@seZdZdd�ZdS)�StandaloneTestsc
CsHddl}ddl}ddl}ddl}|j�|j�}|j�|j�t��}|j�	|d�}|j
||g|j|j|jd�}zg|�
|j|j�|j��z|��}	Wntyb}
z|
jdkrX�WYd}
~
nd}
~
ww|	dkr�|j��}t|t�ru|��}|j�d�|j�|�|j�d�|�d|	�W|j��dSW|j��dS|j��w)Nrzstandalonetests.py)�stdout�stderr�stdin�zQ################################################################################
zOutput code: %d)�
subprocess�sys�os�pickle�path�abspath�
executable�dirname�__file__�join�Popen�PIPE�STDOUT�dumpr�close�wait�OSError�errnor�read�
isinstance�bytes�decoder�write�fail)�selfrrr	r
r
�where�program�process�rc�e�output�r&�F/usr/lib/python3/dist-packages/zope/component/tests/test_standalone.py�testStandalonesD
�

���

�	zStandaloneTests.testStandaloneN)�__name__�
__module__�__qualname__r(r&r&r&r'rsrcCstrt�t�St��S)N)�_HAS_ZOPE_SECURITY�unittest�	makeSuiter�	TestSuiter&r&r&r'�
test_suite=s
r0)	�__doc__r-�
zope.security�zope�ImportErrorr,�TestCaserr0r&r&r&r'�<module>s
�$