| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks for the fix!
Just FYI, I've found it via running refleak tests with 3:3 option. Probably, it's has the same mechanism of running tests as the --forever parameter.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The test creates a temporary directory to store the modules every time it executes. However, with --forever, the test will run more than once. When the old directory got removed, the cached module would lost source. In order to fix this, we can simply remove the module from sys.modules and force the module to be reloaded every time.