flake8 fix

This commit is contained in:
Alex Gaynor 2013-11-25 09:21:25 -06:00
parent 3411af3cd1
commit 7349a22d29
1 changed files with 1 additions and 1 deletions

View File

@ -676,7 +676,7 @@ class SchemaTests(TransactionTestCase):
editor.create_model(BookWithLongName) editor.create_model(BookWithLongName)
# Find the properly shortened column name # Find the properly shortened column name
column_name = connection.ops.quote_name("author_foreign_key_with_really_long_field_name_id") column_name = connection.ops.quote_name("author_foreign_key_with_really_long_field_name_id")
column_name = column_name[1:-1].lower() # unquote, and, for Oracle, un-upcase column_name = column_name[1:-1].lower() # unquote, and, for Oracle, un-upcase
# Ensure the table is there and has an index on the column # Ensure the table is there and has an index on the column
self.assertIn( self.assertIn(
column_name, column_name,