mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #23613 -- Deprecated django.utils.checksums
This commit is contained in:
parent
1b5918f160
commit
115c307184
4 changed files with 30 additions and 1 deletions
|
@ -1,6 +1,13 @@
|
|||
import unittest
|
||||
import warnings
|
||||
|
||||
from django.utils import checksums
|
||||
from django.utils.deprecation import RemovedInDjango20Warning
|
||||
|
||||
with warnings.catch_warnings():
|
||||
warnings.filterwarnings(
|
||||
'ignore', 'django.utils.checksums will be removed in Django 2.0.',
|
||||
RemovedInDjango20Warning)
|
||||
from django.utils import checksums
|
||||
|
||||
|
||||
class TestUtilsChecksums(unittest.TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue