X7ROOT File Manager
Current Path:
/opt/cloudlinux/venv/lib/python3.11/site-packages/pyfakefs/pytest_tests
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pyfakefs
/
pytest_tests
/
??
..
??
__init__.py
(0 B)
??
__pycache__
??
conftest.py
(1.3 KB)
??
data
??
example.py
(652 B)
??
fake_fcntl_test.py
(855 B)
??
hook_test
??
io.py
(341 B)
??
lib_using_pathlib.py
(75 B)
??
local_import.py
(132 B)
??
ns_package
??
pytest_check_failed_plugin_test.py
(659 B)
??
pytest_doctest_test.py
(1.36 KB)
??
pytest_fixture_param_test.py
(1.85 KB)
??
pytest_fixture_test.py
(2.48 KB)
??
pytest_module_fixture_test.py
(1.02 KB)
??
pytest_plugin_failing_helper.py
(128 B)
??
pytest_plugin_test.py
(2.5 KB)
??
pytest_reload_pandas_test.py
(828 B)
??
test_fs_with_monkeypatch.py
(348 B)
??
test_patch_on_setup.py
(949 B)
??
test_reload_local_import.py
(771 B)
??
unhashable.py
(390 B)
Editing: io.py
""" This is a test case for pyfakefs issue #708. It tests the usage of an own module with the same name as a patched filesystem module, the content is taken from the issue. """ class InputStream: def __init__(self, name): self.name = name def read(self): with open(self.name) as f: return f.readline()
Upload File
Create Folder