pyfakefs icon indicating copy to clipboard operation
pyfakefs copied to clipboard

additional_skip_names are not respected everywhere in pathlib

Open sassanh opened this issue 8 months ago • 4 comments

Describe the bug

Path().exists and Path().unlink for example don't work well with additional_skip_names.

Context: https://github.com/pytest-dev/pyfakefs/issues/1021#issuecomment-2132637499

The current implementation is incomplete (yes, actually all methods should respect additional_skip_names) and ugly (using the callstack). I had hoped that it will sufficient until I get back to it, but obviously I was wrong.

sassanh avatar May 27 '24 10:05 sassanh