PATH:
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pyfakefs
/
tests
/
__pycache__
� ��R"��� � � d dl Z d dlmZ d dlmZmZ d dlmZmZ d dl m Z d dlmZm Z mZmZ G d� de� � Z e j edu d � � G d � de � � � � Z G d� d e� � Z e j edu d� � G d� de� � � � Z G d� de� � Z e j edu d� � G d� de� � � � Z G d� de� � Z e j edu d� � G d� de � � � � Z G d� de� � Z e j edu d� � G d� de� � � � Z G d� de� � Zedk r e j d �!� � dS dS )"� N)�TestCase)�FakeScanDirModule�FakePathlib2Module)�pathlib2�scandir)�FakeScandirTest)�FakePathlibInitializationTest� FakePathlibPathFileOperationTest�!FakePathlibFileObjectPropertyTest�!FakePathlibUsageInOsFunctionsTestc � � e Zd Zd� Z ej edu d� � d� � � Z ej edu d� � d� � � Z dS )�DeprecationWarningTestc �. � | � � � d S �N)� setUpPyfakefs��selfs �y/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/pyfakefs/tests/fake_legacy_modules_test.py�setUpzDeprecationWarningTest.setUp s � ��������� N�$The scandir package is not installedc � � dt _ | � t � � 5 t j d� � d d d � � d S # 1 swxY w Y d S )NF�/)r � has_warned�assertWarns�DeprecationWarningr r s r �test_scandir_warningz+DeprecationWarningTest.test_scandir_warning s� � �',��$� � � �0� 1� 1� !� !��O�C� � � � !� !� !� !� !� !� !� !� !� !� !� !���� !� !� !� !� !� !� �A � A �A �%The pathlib2 package is not installedc � � dt _ | � t � � 5 t j d� � d d d � � d S # 1 swxY w Y d S )NFz/foo)r r r r r �Pathr s r �test_pathlib2_warningz,DeprecationWarningTest.test_pathlib2_warning% s� � �(-��%� � � �0� 1� 1� "� "��M�&�!�!�!� "� "� "� "� "� "� "� "� "� "� "� "���� "� "� "� "� "� "r ) �__name__� __module__�__qualname__r �unittest�skipIfr r r r"