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
Python 3.5.2 (default, Sep 14 2016, 11:28:32) [GCC 6.2.1 20160901 (Red Hat 6.2.1-1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from pyfakefs.fake_filesystem_unittest import Patcher >>> stubber = Patcher() >>> stubber.setUp() >>> fp = open('foo.txt', 'xb') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "…/pyfakefs/fake_filesystem.py", line 3416, in __call__ return self.Call(*args, **kwargs) File "…/pyfakefs/fake_filesystem.py", line 3459, in Call raise ValueError('Invalid mode: %r' % orig_modes) ValueError: Invalid mode: 'xb'
The text was updated successfully, but these errors were encountered:
Added support for exclusive creation mode in open
c7b6d50
- see pytest-dev#147
8468ec7
- see #147
@FelixSchwarz - please check if this fixes your problem.
Sorry, something went wrong.
Yes, this works for me. Thank you very much!
Thanks for the report!
mrbean-bremen
No branches or pull requests
The text was updated successfully, but these errors were encountered: