diff options
Diffstat (limited to 'tests/schema/tests.py')
| -rw-r--r-- | tests/schema/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/schema/tests.py b/tests/schema/tests.py index 9aac9fb5a7..d3a2245673 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -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) |
