mirror of
https://github.com/django/django.git
synced 2025-08-15 16:20:37 +00:00
[1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning.
This commit is contained in:
parent
7439039806
commit
ae1d663b79
103 changed files with 348 additions and 340 deletions
|
@ -568,13 +568,13 @@ class FileFieldStorageTests(TestCase):
|
|||
str(warns[0].message),
|
||||
'Backwards compatibility for storage backends without support for '
|
||||
'the `max_length` argument in Storage.save() will be removed in '
|
||||
'Django 2.0.'
|
||||
'Django 1.10.'
|
||||
)
|
||||
self.assertEqual(
|
||||
str(warns[1].message),
|
||||
'Backwards compatibility for storage backends without support for '
|
||||
'the `max_length` argument in Storage.get_available_name() will '
|
||||
'be removed in Django 2.0.'
|
||||
'be removed in Django 1.10.'
|
||||
)
|
||||
self.assertEqual(obj.old_style.name, 'tests/deprecated_storage_test.txt')
|
||||
self.assertEqual(obj.old_style.read(), b'Same Content')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue