summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/__init__.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-09-06 10:26:45 -0400
committerTim Graham <timograham@gmail.com>2017-09-27 11:00:04 -0400
commit1d8cfa36089f2d1295abad03a99fc3c259bde6b5 (patch)
tree458e608105acb5fe7e9db7e2c01c833df1673795 /tests/postgres_tests/__init__.py
parentea7ca5db302367d84f92a4cf0ca03ec62886a7ca (diff)
Fixed #28626 -- Dropped support for PostgreSQL 9.3.
Thanks Simon Charette for the introspection changes.
Diffstat (limited to 'tests/postgres_tests/__init__.py')
-rw-r--r--tests/postgres_tests/__init__.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/postgres_tests/__init__.py b/tests/postgres_tests/__init__.py
index ea6b96aff9..24d78c9bfe 100644
--- a/tests/postgres_tests/__init__.py
+++ b/tests/postgres_tests/__init__.py
@@ -7,16 +7,6 @@ from django.db.backends.signals import connection_created
from django.test import TestCase, modify_settings
-def skipUnlessPG94(test):
- try:
- PG_VERSION = connection.pg_version
- except AttributeError:
- PG_VERSION = 0
- if PG_VERSION < 90400:
- return unittest.skip('PostgreSQL ≥ 9.4 required')(test)
- return test
-
-
@unittest.skipUnless(connection.vendor == 'postgresql', "PostgreSQL specific tests")
class PostgreSQLTestCase(TestCase):
@classmethod