pathlib.Path() inconsistent behavior #657
-
Describe the bug Recasting the How To Reproduce
The Your environment
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This is a known limitation to pyfakefs (and other patching methods). From the documentation of the
from pathlib import Path
path = Path("/example_home")
As reloading the test itself does not make sense, |
Beta Was this translation helpful? Give feedback.
-
@mrbean-bremen thanks for pointing this out, I did not notice that in the documentation and that really helps. |
Beta Was this translation helpful? Give feedback.
This is a known limitation to pyfakefs (and other patching methods). From the documentation of the
modules_to_reload
argument: