summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2023-02-01 07:13:39 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-02-01 11:52:33 +0100
commite565a5cd187197a6349e55d7a4c68a9e12e2fd20 (patch)
tree7c4f7a507f80833bd17f59b7d5ca723bcdc349da /tests/postgres_tests
parent4cf73314c4704509a7587b3f24201cf179d64f79 (diff)
[4.0.x] Refs #33476 -- Applied Black's 2023 stable style.
Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 Backport of 097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 from main.
Diffstat (limited to 'tests/postgres_tests')
-rw-r--r--tests/postgres_tests/array_default_migrations/0001_initial.py1
-rw-r--r--tests/postgres_tests/array_default_migrations/0002_integerarraymodel_field_2.py1
-rw-r--r--tests/postgres_tests/array_index_migrations/0001_initial.py1
-rw-r--r--tests/postgres_tests/migrations/0001_setup_extensions.py1
-rw-r--r--tests/postgres_tests/migrations/0002_create_test_models.py1
-rw-r--r--tests/postgres_tests/test_array.py1
-rw-r--r--tests/postgres_tests/test_unaccent.py1
7 files changed, 0 insertions, 7 deletions
diff --git a/tests/postgres_tests/array_default_migrations/0001_initial.py b/tests/postgres_tests/array_default_migrations/0001_initial.py
index 10eaef2aab..5c6fa7e189 100644
--- a/tests/postgres_tests/array_default_migrations/0001_initial.py
+++ b/tests/postgres_tests/array_default_migrations/0001_initial.py
@@ -3,7 +3,6 @@ from django.db import migrations, models
class Migration(migrations.Migration):
-
dependencies = []
operations = [
diff --git a/tests/postgres_tests/array_default_migrations/0002_integerarraymodel_field_2.py b/tests/postgres_tests/array_default_migrations/0002_integerarraymodel_field_2.py
index b15b575e54..ab1f06b5de 100644
--- a/tests/postgres_tests/array_default_migrations/0002_integerarraymodel_field_2.py
+++ b/tests/postgres_tests/array_default_migrations/0002_integerarraymodel_field_2.py
@@ -3,7 +3,6 @@ from django.db import migrations, models
class Migration(migrations.Migration):
-
dependencies = [
("postgres_tests", "0001_initial"),
]
diff --git a/tests/postgres_tests/array_index_migrations/0001_initial.py b/tests/postgres_tests/array_index_migrations/0001_initial.py
index 5c74be326a..d08243b67e 100644
--- a/tests/postgres_tests/array_index_migrations/0001_initial.py
+++ b/tests/postgres_tests/array_index_migrations/0001_initial.py
@@ -3,7 +3,6 @@ from django.db import migrations, models
class Migration(migrations.Migration):
-
dependencies = []
operations = [
diff --git a/tests/postgres_tests/migrations/0001_setup_extensions.py b/tests/postgres_tests/migrations/0001_setup_extensions.py
index 090abf9649..8045610aef 100644
--- a/tests/postgres_tests/migrations/0001_setup_extensions.py
+++ b/tests/postgres_tests/migrations/0001_setup_extensions.py
@@ -31,7 +31,6 @@ else:
class Migration(migrations.Migration):
-
operations = [
BloomExtension(),
BtreeGinExtension(),
diff --git a/tests/postgres_tests/migrations/0002_create_test_models.py b/tests/postgres_tests/migrations/0002_create_test_models.py
index dc330675fc..e5b1880f2f 100644
--- a/tests/postgres_tests/migrations/0002_create_test_models.py
+++ b/tests/postgres_tests/migrations/0002_create_test_models.py
@@ -18,7 +18,6 @@ from ..models import TagField
class Migration(migrations.Migration):
-
dependencies = [
("postgres_tests", "0001_setup_extensions"),
]
diff --git a/tests/postgres_tests/test_array.py b/tests/postgres_tests/test_array.py
index 28d5924b9d..b06ea11790 100644
--- a/tests/postgres_tests/test_array.py
+++ b/tests/postgres_tests/test_array.py
@@ -800,7 +800,6 @@ class TestChecks(PostgreSQLSimpleTestCase):
@unittest.skipUnless(connection.vendor == "postgresql", "PostgreSQL specific tests")
class TestMigrations(TransactionTestCase):
-
available_apps = ["postgres_tests"]
def test_deconstruct(self):
diff --git a/tests/postgres_tests/test_unaccent.py b/tests/postgres_tests/test_unaccent.py
index 4188d90794..d7a8e7ed25 100644
--- a/tests/postgres_tests/test_unaccent.py
+++ b/tests/postgres_tests/test_unaccent.py
@@ -7,7 +7,6 @@ from .models import CharFieldModel, TextFieldModel
@modify_settings(INSTALLED_APPS={"append": "django.contrib.postgres"})
class UnaccentTest(PostgreSQLTestCase):
-
Model = CharFieldModel
@classmethod