summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_functions.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-05-15 09:26:38 -0400
committerGitHub <noreply@github.com>2017-05-15 09:26:38 -0400
commit650bf6714d5648811a8bc08ce53b7fa86cc38d40 (patch)
treee65828cfbf44b4e813e089bd2590981a4080c809 /tests/postgres_tests/test_functions.py
parentf0d47ab3b6aef90480460fc3c96453d1bb47532a (diff)
Refs #27996 -- Skipped RandomUUID test on PostgreSQL 9.3.
Diffstat (limited to 'tests/postgres_tests/test_functions.py')
-rw-r--r--tests/postgres_tests/test_functions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/postgres_tests/test_functions.py b/tests/postgres_tests/test_functions.py
index 875a4b9520..de5cb4d767 100644
--- a/tests/postgres_tests/test_functions.py
+++ b/tests/postgres_tests/test_functions.py
@@ -4,7 +4,7 @@ from time import sleep
from django.contrib.postgres.functions import RandomUUID, TransactionNow
-from . import PostgreSQLTestCase
+from . import PostgreSQLTestCase, skipUnlessPG94
from .models import NowTestModel, UUIDTestModel
@@ -29,6 +29,7 @@ class TestTransactionNow(PostgreSQLTestCase):
self.assertEqual(m1.when, m2.when)
+@skipUnlessPG94
class TestRandomUUID(PostgreSQLTestCase):
def test_random_uuid(self):