-
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
pathlib.Path with UNC paths throwing exception #890
Comments
Thanks for the report! I will probably have a look at the weekend (traveling right now). |
mrbean-bremen
added a commit
to mrbean-bremen/pyfakefs
that referenced
this issue
Oct 7, 2023
- automount drive or UNC path under Windows if needed in FakeFilesystem.makedir() (used by Path.mkdir) - fixes pytest-dev#890
5 tasks
mrbean-bremen
added a commit
that referenced
this issue
Oct 8, 2023
- automount drive or UNC path under Windows if needed in FakeFilesystem.makedir() (used by Path.mkdir) - fixes #890
Shall be fixed in main now - please check! |
Nice, thank you. Run the same example on master and it executed without problems. |
Good to know, thanks! I will probably make a new release after I have fixed another issue related to Python 3.12. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When creating fake UNC directory using
pathlib.Path
thePath.mkdir
throwsFileNotFoundError
exception. When using simple windows paths likeC:/test/test1
each of following examples work.How To Reproduce
Output
Your environment
The text was updated successfully, but these errors were encountered: