-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Incorrect examples in documentation (contextmanager) #447
Comments
Thanks for the report @romuald |
Another symptom of this issue is that the requests end up taking quite long. E.g. 75 seconds for a simple |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The examples for various context managers seems to be outdated.
For example: https://httpretty.readthedocs.io/en/1.1.4/api.html#httpretty.core.httprettized
In documentation:
Actual code needs the register_uri call to be made inside the with statement, otherwise it is not mocked
python version 3.7
httpretty version 1.1.4
The text was updated successfully, but these errors were encountered: