This is required to allow the test to run without error under SQLite in the CI environment. Backport of 18d7c1e.
Thanks to rizumu for the report. Backport of c8985a8a7317042a641e870cb75b3005cc5d67b1.