We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug lstat for '.' fails on Linux
How To Reproduce
from pyfakefs import fake_filesystem filesystem = fake_filesystem.FakeFilesystem() os_module = fake_filesystem.FakeOsModule(filesystem) os_module.getcwd() # '/' os_module.stat('.') # works ok os_module.lstat('.') FileNotFoundError: [Errno 2] No such file or directory in the fake filesystem: '.'
Your enviroment Please run the following and paste the output.
python -c "import platform; print(platform.platform())" python -c "import sys; print('Python', sys.version)" python -c "from pyfakefs.fake_filesystem import __version__; print('pyfakefs', __version__)"
Linux-4.15.0-76-generic-x86_64-with-debian-buster-sid Python 3.7.3 (default, Nov 21 2019, 15:51:40) [GCC 7.4.0] pyfakefs 3.7.1
The text was updated successfully, but these errors were encountered:
34dbbf7
Fixed handling of current path in lresolve() / os.lstat()
5c71f47
- fixes #516 - back-ported from master
No branches or pull requests
Describe the bug
lstat for '.' fails on Linux
How To Reproduce
Your enviroment
Please run the following and paste the output.
Linux-4.15.0-76-generic-x86_64-with-debian-buster-sid
Python 3.7.3 (default, Nov 21 2019, 15:51:40)
[GCC 7.4.0]
pyfakefs 3.7.1
The text was updated successfully, but these errors were encountered: