-
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
print("Clearing the cache") during tests #869
Comments
Ah, sorry - that was a leftover from testing that I obviously missed, will fix this. Not sure if it's worth an extra patch release though... but then releases are cheap. |
Thanks! It's not a show stopper for me, I can live with it until there are enough changes for a future release :) |
mrbean-bremen
added a commit
to mrbean-bremen/pyfakefs
that referenced
this issue
Aug 23, 2023
6 tasks
mrbean-bremen
added a commit
that referenced
this issue
Aug 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Since 5.2.4, when pyfakefs clears its cache, it prints a "Clearing the cache" message, which looks out of place in the pytest output.
How To Reproduce
Given a dummy test file like this:
And pytest and pyfakefs in a new virtualenv
When I run pytest, I see a "Clearing the cache" message at the end:
Your environment
Linux-6.2.0-26-generic-x86_64-with-glibc2.35
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
pyfakefs 5.2.4
pytest 7.4.0
The text was updated successfully, but these errors were encountered: