-
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
Don't import pandas #627
Comments
Good point! The import of |
Please check in current master with |
Closing as fixed. Please reopen if you still have issues. |
pandas is really slow to import, importing this library can add seconds to a program's startup time, which can be critical for unittest and CLI programs that needs fast startup time.
To reproduce:
python -c "import pyfakefs.fakefilesysem_unittest"
pandas
is not installedExpected behaviour:
pyfakefs should only import pandas or other libraries that it monkey patch, if the main application is already importing them. Just having the library installed in the system packages shouldn't cause pyfakefs to assume that the library is going to be used by the currently running application.
The text was updated successfully, but these errors were encountered: