Created
March 14, 2017 12:29
-
-
Save 1kastner/f25eb7ed5e21fe6c6e97c20e25c8b427 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import requests_mock | |
import requests_cache | |
with requests_mock.mock() as mock: | |
mock.get("mock://test", text="test") | |
requests_cache.install_cache("test_cache", backend="memory") | |
requests.get("mock://test") | |
# -> RecursionError: maximum recursion depth exceeded |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment