From 06110ece6e2df949294392506cb4d2fdabd58148 Mon Sep 17 00:00:00 2001 From: Ben Cail Date: Mon, 4 Nov 2024 13:35:04 -0500 Subject: [PATCH] limit test to postgresql --- tests/migrations/test_operations.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/migrations/test_operations.py b/tests/migrations/test_operations.py index 8d58f8b2ad..8f14453c49 100644 --- a/tests/migrations/test_operations.py +++ b/tests/migrations/test_operations.py @@ -1,4 +1,5 @@ import math +import unittest from decimal import Decimal from django.core.exceptions import FieldDoesNotExist @@ -6214,6 +6215,7 @@ class OperationTests(OperationTestBase): class PrimaryKeyOperations(OperationTestBase): + @unittest.skipUnless(connection.vendor == "postgresql", "PostgreSQL specific") def test_slugfields_change_primary_key_operations(self): # Create a model with two fields operation1 = migrations.CreateModel(