summaryrefslogtreecommitdiff
path: root/tests/schema/tests.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-10-19 08:31:38 -0400
committerTim Graham <timograham@gmail.com>2013-10-19 08:31:38 -0400
commit96d1d4e29275f4f5900f0725975d2ad0a4d05816 (patch)
tree17b846e3b77f68fbb3b1dc7a2ff413f574c62ce1 /tests/schema/tests.py
parent5f52590368063fc8284e23be492d83ba751f66bf (diff)
Removed unused local variables in tests.
Diffstat (limited to 'tests/schema/tests.py')
-rw-r--r--tests/schema/tests.py2
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)