Skip to content

Commit 904f91c

Browse files
committed
only run array index test for postgres
1 parent a7ad1ce commit 904f91c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/columns/test_array.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from piccolo.table import Table
44
from piccolo.columns.column_types import Array, Integer
5+
from tests.base import postgres_only
56

67

78
class MyTable(Table):
@@ -28,6 +29,7 @@ def test_storage(self):
2829
row = MyTable.objects().first().run_sync()
2930
self.assertEqual(row.value, [1, 2, 3])
3031

32+
@postgres_only
3133
def test_index(self):
3234
"""
3335
Indexes should allow individual array elements to be queried.

0 commit comments

Comments
 (0)