mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Fixed #32193 -- Deprecated MemcachedCache.
This commit is contained in:
parent
2c5d6dc447
commit
5ce31d6a71
9 changed files with 78 additions and 40 deletions
|
|
@ -47,6 +47,12 @@ warnings.simplefilter("error", ResourceWarning)
|
|||
warnings.simplefilter("error", RuntimeWarning)
|
||||
# Ignore known warnings in test dependencies.
|
||||
warnings.filterwarnings("ignore", "'U' mode is deprecated", DeprecationWarning, module='docutils.io')
|
||||
# RemovedInDjango41Warning: Ignore MemcachedCache deprecation warning.
|
||||
warnings.filterwarnings(
|
||||
'ignore',
|
||||
'MemcachedCache is deprecated',
|
||||
category=RemovedInDjango41Warning,
|
||||
)
|
||||
|
||||
RUNTESTS_DIR = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue