mirror of
https://github.com/django/django.git
synced 2025-07-16 17:55:18 +00:00
Refs #27996 -- Skipped RandomUUID test on PostgreSQL 9.3.
This commit is contained in:
parent
f0d47ab3b6
commit
650bf6714d
3 changed files with 14 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue