-
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
Call os.makedirs('', exist_ok=True) will not raise FileNotFoundError in fakefs #510
Comments
Ok, thanks - strange use case, I didn't know that it behaves that way. Will have a look tonight... |
The use case is that we wanna implement something like Then we encountered that At last we wish to add this case to our unit test, and discovered that pyfakefs does not complain about this. |
Ok, thanks - I still find the behavior a bit unexpected, and it seems not to be documented. Anyway, I will have a look later. |
Turned out |
- fixes #510 - back-ported from master
Describe the bug
os.makedirs('', exist_ok=True)
will not raiseFileNotFoundError
How To Reproduce
Output:
Your enviroment
Please run the following and paste the output.
The text was updated successfully, but these errors were encountered: