$oɅ f d dl Z d dlmZ d dlmZmZ d Z G d de Z G d d ZdS ) N)FakePathlibModulescandirwalkc H d| d}t j |t d S )Nz"You are using the legacy package 'zc' instead of the built-in module.Patching this package will no longer be supported in pyfakefs >= 6)category)warningswarnDeprecationWarning)module_namemsgs n/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/pyfakefs/fake_legacy_modules.pylegacy_warningr s? M[ M M M M# 2333333 c e Zd ZdZdZd ZdS )FakePathlib2ModulezUses FakeFilesystem to provide a fake pathlib module replacement. for the `pathlib2` package available on PyPi. The usage of `pathlib2` is deprecated and will no longer be supported in future pyfakefs versions. Fc t | | }t |d r't j sdt _ t d |S )N__call__Tpathlib2)object__getattribute__hasattrr has_warnedr )selfnameattrs r r z#FakePathlib2Module.__getattribute__&