summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2016-11-19 18:19:41 +0100
committerClaude Paroz <claude@2xlibre.net>2017-01-18 09:55:19 +0100
commitd7b9aaa366dd54ecc3142c588162e3adc7c2f7ac (patch)
treec7faf11a6f6c14981a08a621c36e6f736b21dd8b /tests/postgres_tests
parent397b3705c5f762b359cdb494f9447c8a60685adf (diff)
Refs #23919 -- Removed encoding preambles and future imports
Diffstat (limited to 'tests/postgres_tests')
-rw-r--r--tests/postgres_tests/array_default_migrations/0001_initial.py3
-rw-r--r--tests/postgres_tests/array_default_migrations/0002_integerarraymodel_field_2.py3
-rw-r--r--tests/postgres_tests/array_index_migrations/0001_initial.py3
-rw-r--r--tests/postgres_tests/migrations/0001_setup_extensions.py3
-rw-r--r--tests/postgres_tests/migrations/0002_create_test_models.py3
-rw-r--r--tests/postgres_tests/test_hstore.py3
-rw-r--r--tests/postgres_tests/test_json.py2
-rw-r--r--tests/postgres_tests/test_unaccent.py3
8 files changed, 0 insertions, 23 deletions
diff --git a/tests/postgres_tests/array_default_migrations/0001_initial.py b/tests/postgres_tests/array_default_migrations/0001_initial.py
index ebda628a5b..eb523218ef 100644
--- a/tests/postgres_tests/array_default_migrations/0001_initial.py
+++ b/tests/postgres_tests/array_default_migrations/0001_initial.py
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
import django.contrib.postgres.fields
from django.db import migrations, models
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 9526a96735..679c9bb0d3 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
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
import django.contrib.postgres.fields
from django.db import migrations, models
diff --git a/tests/postgres_tests/array_index_migrations/0001_initial.py b/tests/postgres_tests/array_index_migrations/0001_initial.py
index 10c1780a46..505e53e4e8 100644
--- a/tests/postgres_tests/array_index_migrations/0001_initial.py
+++ b/tests/postgres_tests/array_index_migrations/0001_initial.py
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
import django.contrib.postgres.fields
from django.db import migrations, models
diff --git a/tests/postgres_tests/migrations/0001_setup_extensions.py b/tests/postgres_tests/migrations/0001_setup_extensions.py
index 41628030b7..7add08c499 100644
--- a/tests/postgres_tests/migrations/0001_setup_extensions.py
+++ b/tests/postgres_tests/migrations/0001_setup_extensions.py
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
from django.db import migrations
try:
diff --git a/tests/postgres_tests/migrations/0002_create_test_models.py b/tests/postgres_tests/migrations/0002_create_test_models.py
index 8f72183f5c..489bedf298 100644
--- a/tests/postgres_tests/migrations/0002_create_test_models.py
+++ b/tests/postgres_tests/migrations/0002_create_test_models.py
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
from django.core.serializers.json import DjangoJSONEncoder
from django.db import migrations, models
diff --git a/tests/postgres_tests/test_hstore.py b/tests/postgres_tests/test_hstore.py
index 0fc427f67c..2c6f93f1f6 100644
--- a/tests/postgres_tests/test_hstore.py
+++ b/tests/postgres_tests/test_hstore.py
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
import json
from django.core import exceptions, serializers
diff --git a/tests/postgres_tests/test_json.py b/tests/postgres_tests/test_json.py
index 4e8851d485..2506fc36d6 100644
--- a/tests/postgres_tests/test_json.py
+++ b/tests/postgres_tests/test_json.py
@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
import datetime
import uuid
from decimal import Decimal
diff --git a/tests/postgres_tests/test_unaccent.py b/tests/postgres_tests/test_unaccent.py
index e1e4171062..018aedb64c 100644
--- a/tests/postgres_tests/test_unaccent.py
+++ b/tests/postgres_tests/test_unaccent.py
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
from django.test import modify_settings
from . import PostgreSQLTestCase