mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Removed unused local variables in tests.
This commit is contained in:
@@ -174,7 +174,7 @@ class FieldDeconstructionTests(TestCase):
|
||||
self.assertEqual(kwargs, {})
|
||||
|
||||
def test_ip_address_field(self):
|
||||
with warnings.catch_warnings(record=True) as w:
|
||||
with warnings.catch_warnings(record=True):
|
||||
warnings.simplefilter("always")
|
||||
field = models.IPAddressField()
|
||||
name, path, args, kwargs = field.deconstruct()
|
||||
|
||||
Reference in New Issue
Block a user