mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Removed unneeded hint=None/obj=None in system check messages.
This commit is contained in:
parent
36f1f5cfb0
commit
004ba0f99e
30 changed files with 287 additions and 495 deletions
|
@ -19,7 +19,7 @@ class BackendSpecificChecksTests(SimpleTestCase):
|
|||
@mock.patch('django.db.models.fields.router.allow_migrate', new=dummy_allow_migrate)
|
||||
def test_check_field(self):
|
||||
""" Test if backend specific checks are performed. """
|
||||
error = Error('an error', hint=None)
|
||||
error = Error('an error')
|
||||
|
||||
class Model(models.Model):
|
||||
field = models.IntegerField()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue