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
__next__
Describe the bug
FakeFileWrapper didn't implement __next__
How To Reproduce
raise:
with open(input_fn) as f: > student_ids = next(f).strip().split(',') E TypeError: 'FakeFileWrapper' object is not an iterator
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.20.0-rc1-x86_64-with-arch Python 3.7.3 (default, May 3 2019, 11:10:59) [GCC 8.2.1 20181127] pyfakefs 3.6
The text was updated successfully, but these errors were encountered:
Thanks - good catch!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
FakeFileWrapper didn't implement
__next__
How To Reproduce
raise:
Your enviroment
Please run the following and paste the output.
The text was updated successfully, but these errors were encountered: