PATH:
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pyfakefs
/
pytest_tests
from pyfakefs.fake_filesystem import FakeFileOpen def test_monkeypatch_with_fs(fs, monkeypatch): """Regression test for issue 1200""" fake_open = FakeFileOpen(fs) monkeypatch.setattr("builtins.open", fake_open, raising=False) def test_open(): """Tests if open is poisoned by the above test""" assert "built-in" in str(open)
[-] pytest_doctest_test.py
[open]
[-] pytest_plugin_test.py
[open]
[+]
..
[+]
__pycache__
[-] io.py
[open]
[-] pytest_plugin_failing_helper.py
[open]
[-] local_import.py
[open]
[-] test_fs_with_monkeypatch.py
[open]
[-] pytest_reload_pandas_test.py
[open]
[-] conftest.py
[open]
[-] pytest_fixture_test.py
[open]
[-] example.py
[open]
[-] unhashable.py
[open]
[+]
data
[-] test_patch_on_setup.py
[open]
[-] test_reload_local_import.py
[open]
[-] __init__.py
[open]
[-] pytest_check_failed_plugin_test.py
[open]
[-] pytest_module_fixture_test.py
[open]
[-] pytest_fixture_param_test.py
[open]
[-] fake_fcntl_test.py
[open]
[+]
ns_package
[-] lib_using_pathlib.py
[open]
[+]
hook_test