def test_future_db(self) -> None:
        """Check handling of database that is newer than the current
        TruLens's db version.

        We expect a warning and exception."""

        for folder in (
            Path(__file__).parent.parent.parent / "release_dbs"
        ).iterdir():
            _dbfile = folder / "default.sqlite"

            if "infty" not in str(folder):
                # Future/unknown dbs have "infty" in their folder name.
                continue

            with self.subTest(msg=f"use future db {folder.name}"):
                with TemporaryDirectory() as tmp:
                    dbfile = Path(tmp) / f"default-{folder.name}.sqlite"
                    shutil.copy(str(_dbfile), str(dbfile))

                    self._test_future_db(dbfile=dbfile)
Check handling of database that is newer than the current
        TruLens's db version.

        We expect a warning and exception.
tests/integration/test_database.py