관리-도구
편집 파일: fake_open_test.cpython-311.pyc
� �܋feI � �L � d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl m Z mZ ddlm Z mZ ddlmZ ddlmZ ddlmZ G d� d e� � Z G d � de� � Z G d� d e� � Z G d� de� � Z G d� de� � Z ej ej dk d� � G d� de� � � � Z G d� de� � Z ej ej dk d� � G d� de� � � � Z G d� de� � Z G d� de� � Z G d� de � � Z! G d � d!e� � Z" G d"� d#e"� � Z# G d$� d%e� � Z$ G d&� d'e$� � Z% G d(� d)e� � Z& G d*� d+e&� � Z' G d,� d-e� � Z( G d.� d/e� � Z) G d0� d1e� � Z* G d2� d3e*� � Z+ G d4� d5e+� � Z, G d6� d7e*� � Z- G d8� d9e-� � Z. G d:� d;e� � Z/ G d<� d=e/� � Z0 G d>� d?e� � Z1 G d@� dAe1� � Z2e3dBk r ej4 � � dS dS )Cz&Unit tests for fake_open.FakeOsModule.� N)�fake_filesystem�helpers)�is_root�IS_PYPY)�FakeIoModule)� PatchMode)�RealFsTestCasec �$ � � e Zd Z� fd�Zd� Z� xZS )�FakeFileOpenTestBasec � �� t t | � � � � � | � � � rt j | _ d S t | j � � | _ | j j | _ d S �N) �superr �setUp�use_real_fs�io�openr � filesystem�fake_io_module��self� __class__s ��n/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pyfakefs/tests/fake_open_test.pyr zFakeFileOpenTestBase.setUp# sd �� � �"�D�)�)�/�/�1�1�1������ 1���D�I�I�I�".�t��"?�"?�D���+�0�D�I�I�I� c � � dS )N�!� �r s r �path_separatorz#FakeFileOpenTestBase.path_separator+ s � ��sr )�__name__� __module__�__qualname__r r � __classcell__�r s @r r r "