Skip to content
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

Added support to fake out the backported scandir #333

Merged
merged 2 commits into from
Dec 13, 2017

Conversation

mrbean-bremen
Copy link
Member

@mrbean-bremen mrbean-bremen commented Dec 9, 2017

@mrbean-bremen
Copy link
Member Author

A few notes:

  • I did not add a generic mechanism to add a new module to Patcher, but doing this should be easy now
  • the tests for scandir.scandir() are only running if scandir is installed - I didn't do this in the Travis build, only tested it locally
  • this PR will clash with the other PR, so one of them will have to be rebased

- module contains backported os.scandir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pyfakefs doesn't work with Python 2.6+ backport of os.scandir
1 participant