mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Removed unneeded hint=None/obj=None in system check messages.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user