-
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
Add mechanism to patch modules after setup #248
Labels
Comments
mrbean-bremen
added a commit
to mrbean-bremen/pyfakefs
that referenced
this issue
Aug 5, 2017
- added modules_to_reload instead of special_names and use it for tempfile - see pytest-dev#248
mrbean-bremen
added a commit
to mrbean-bremen/pyfakefs
that referenced
this issue
Aug 5, 2017
- added modules_to_reload instead of special_names and use it for tempfile - see pytest-dev#248
mrbean-bremen
added a commit
to mrbean-bremen/pyfakefs
that referenced
this issue
Aug 5, 2017
- added modules_to_reload instead of special_names and use it for tempfile - removed tempfile patch - see pytest-dev#248
mrbean-bremen
added a commit
to mrbean-bremen/pyfakefs
that referenced
this issue
Aug 5, 2017
- added modules_to_reload instead of special_names and use it for tempfile - removed tempfile patch - see pytest-dev#248
mrbean-bremen
added a commit
that referenced
this issue
Aug 5, 2017
- added modules_to_reload instead of special_names and use it for tempfile - removed tempfile patch - see #248
@jmcgeheeiv - this change does not work with PyPy3 2.4, which is based on Python 3.2. I commented out PyPy3 in Travis, but I'm now thinking to just drop support for it:
What do you think? |
Ok, I reverted the changes and added dynamic patching as an experimental feature (which won't work for PyPy3 2.4). Closing the issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure is this is possible but this would take care of problems with dynamic imports for example in Django (see #199), and problems with cached functions from file system modules (to replace the bad hack currently used to implement #191).
The text was updated successfully, but these errors were encountered: