-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fake_scandir.DirEntry isn't Path-like #483
Comments
Good point. |
Ok, that is not as straightforward as I thought. Under Windows, |
It looks like |
Yes, path-like objects have been introduced in Python 3.6. I do get |
Unlike
os.DirEntry
,pyfakefs.fake_scandir.DirEntry
does not implement theos.PathLike
interface.Sample test case that fails if pyfakefs is used, but passes if the
fs
fixture is removed:The text was updated successfully, but these errors were encountered: