summaryrefslogtreecommitdiff
path: root/requests_cache/patcher.py
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook.git@proton.me>2023-05-08 11:23:22 -0500
committerJordan Cook <jordan.cook.git@proton.me>2023-05-08 11:32:25 -0500
commit7a0aa6de6bb9d912554bac6cafef2d2ff7c757b6 (patch)
tree70b96898114b73698dc3cdc4639f215acd07fce1 /requests_cache/patcher.py
parent83f7bc77e4daeab70e19e29a1ed1ba4bcabff9e1 (diff)
downloadrequests-cache-7a0aa6de6bb9d912554bac6cafef2d2ff7c757b6.tar.gz
Enable bugbear extension and fix warnings
Diffstat (limited to 'requests_cache/patcher.py')
-rw-r--r--requests_cache/patcher.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/requests_cache/patcher.py b/requests_cache/patcher.py
index 406ee45..aa5af76 100644
--- a/requests_cache/patcher.py
+++ b/requests_cache/patcher.py
@@ -121,6 +121,7 @@ def remove_expired_responses():
warn(
'remove_expired_responses() is deprecated; please use delete() instead',
DeprecationWarning,
+ stacklevel=2,
)
delete(expired=True)