mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed unused local variables in tests.
This commit is contained in:
@@ -655,7 +655,7 @@ class SchemaTests(TransactionTestCase):
|
||||
class SomeError(Exception):
|
||||
pass
|
||||
try:
|
||||
with connection.schema_editor() as editor:
|
||||
with connection.schema_editor():
|
||||
raise SomeError
|
||||
except SomeError:
|
||||
self.assertFalse(connection.in_atomic_block)
|
||||
|
||||
Reference in New Issue
Block a user