You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However when upgrading pyfakefs to 5.3.4 and keeping other dependencies at the same versions, the 2nd parametrized test gives a error that it cannot find the /zero-file at the upload_file statement.
Tnanks for the report - it is most likely related to the change. I will try to find a better solution, or at least a possibility to configure the behavior. Meanwhile you may have to pin the pyfakefs version.
The test code:
The above works flawlessly using python 3.11.7 + pyfakefs 5.3.2 + moto 4.2.13
% pytest -s test_todo.py -v ================================================================ test session starts ================================================================= platform darwin -- Python 3.11.7, pytest-7.4.4, pluggy-1.3.0 -- /dev/.venv/bin/python cachedir: .pytest_cache rootdir: /dev configfile: pyproject.toml plugins: httpserver-1.0.8, timeout-2.2.0, asyncio-0.23.3, pyfakefs-5.3.2, time-0.3.1 asyncio: mode=Mode.STRICT collected 2 items run-last-failure: no previously failed tests, not deselecting items. test_todo.py::test_aws_s3_upload_param[file0] PASSED test_todo.py::test_aws_s3_upload_param[file1] PASSED
However when upgrading pyfakefs to 5.3.4 and keeping other dependencies at the same versions, the 2nd parametrized test gives a error that it cannot find the
/zero-file
at theupload_file
statement.Does it relate to recent change on the use_dynamic_patch feature?
version-5.3.2...version-5.3.4
The text was updated successfully, but these errors were encountered: