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:44:13 +0100
commita637d0bd22665edfe7af40b4da3297462ec3c9cf (patch)
tree01203480b5e7bc6d0bd6a33cec60336cf2dd8ba9 /tests/postgres_tests
parentc629c7891a756f2b870363ad3d3041e6b825b7d5 (diff)
[4.1.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 1b05435494..64cd083236 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 1100e8f3b0..a7b803659b 100644
--- a/tests/postgres_tests/test_array.py
+++ b/tests/postgres_tests/test_array.py
@@ -798,7 +798,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