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: unhashable.py
import sys import types class Unhashable(types.ModuleType): """ Unhashable module, used for regression test for #923. """ @property def Unhashable(self): return self def __eq__(self, other): raise NotImplementedError("Cannot compare unhashable") if sys.modules[__name__] is not Unhashable: sys.modules[__name__] = Unhashable("unhashable")
Upload File
Create Folder