관리-도구
편집 파일: example_test.cpython-311.pyc
� �܋f* � � � d Z ddlZddlZddlZddlZddlmZ ddlmZ ddl m Z d� Z G d� dej � � Z ed k r ej � � dS dS ) aV Test the :py:class`pyfakefs.example` module to demonstrate the usage of the :py:class`pyfakefs.fake_filesystem_unittest.TestCase` base class. Fake filesystem functions like `create_file()`, `create_dir()` or `create_symlink()` are often used to set up file structures at the beginning of a test. While you could also use the familiar `open()`, `os.mkdirs()` and similar functions, these functions can make the test code shorter and more readable. `create_file()` is particularly convenient because it creates all parent directories and allows you to specify the contents or the size of the file. � N)�fake_filesystem_unittest)�use_scandir_package)�examplec �: � t j | ||t � � S )z9Load the pyfakefs/example.py doctest tests into unittest.)r � load_doctestsr )�loader�tests�ignores �l/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pyfakefs/tests/example_test.py� load_testsr '