gh-129870: Skip test_dump_virtual_tables if SQLite lacks FTS4 support (#129913)

This commit is contained in:
Erlend E. Aasland 2025-02-09 21:43:23 +01:00 committed by GitHub
parent 91d9544112
commit cda83cade0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View file

@ -4,6 +4,7 @@ import unittest
from .util import memory_database
from .util import MemoryDatabaseMixin
from .util import requires_virtual_table
class DumpTests(MemoryDatabaseMixin, unittest.TestCase):
@ -206,6 +207,7 @@ class DumpTests(MemoryDatabaseMixin, unittest.TestCase):
self.assertEqual(expected, actual)
self.assertEqual(self.cx.row_factory, dict_factory)
@requires_virtual_table("fts4")
def test_dump_virtual_tables(self):
# gh-64662
expected = [