diff options
author | Tim Graham <timograham@gmail.com> | 2016-04-07 22:04:45 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-04-08 10:12:33 -0400 |
commit | 92053acbb9160862c3e743a99ed8ccff8d4f8fd6 (patch) | |
tree | 50e7fd28a650f0e2352cf94f92e5a66d28a81988 /tests/indexes | |
parent | df8d8d4292684d6ffa7474f1e201aed486f02b53 (diff) | |
download | django-92053acbb9160862c3e743a99ed8ccff8d4f8fd6.tar.gz |
Fixed E128 flake8 warnings in tests/.
Diffstat (limited to 'tests/indexes')
-rw-r--r-- | tests/indexes/tests.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/indexes/tests.py b/tests/indexes/tests.py index 270f796c85..6e27130f63 100644 --- a/tests/indexes/tests.py +++ b/tests/indexes/tests.py @@ -40,8 +40,7 @@ class SchemaIndexesTests(TestCase): index_sql = connection.schema_editor()._model_indexes_sql(IndexTogetherSingleList) self.assertEqual(len(index_sql), 1) - @skipUnless(connection.vendor == 'postgresql', - "This is a postgresql-specific issue") + @skipUnless(connection.vendor == 'postgresql', "This is a postgresql-specific issue") def test_postgresql_text_indexes(self): """Test creation of PostgreSQL-specific text indexes (#12234)""" from .models import IndexedArticle @@ -53,8 +52,7 @@ class SchemaIndexesTests(TestCase): # index (#19441). self.assertIn('("slug" varchar_pattern_ops)', index_sql[4]) - @skipUnless(connection.vendor == 'postgresql', - "This is a postgresql-specific issue") + @skipUnless(connection.vendor == 'postgresql', "This is a postgresql-specific issue") def test_postgresql_virtual_relation_indexes(self): """Test indexes are not created for related objects""" index_sql = connection.schema_editor()._model_indexes_sql(Article) |