Lines Matching refs:database
48 # Temporarily limit a database connection parameter
309 err_msg = "unable to open database file"
371 A commit should also work when no changes were made to the database.
381 A rollback should also work when no changes were made to the database.
560 # This uses the old database, old row factory, but new text factory
571 "unable to open database file",
633 regex = "file is not a database"
637 # deserialized database.
652 """ Checks that we can successfully connect to a database using an object that
721 def factory(database, *args, **kwargs):
723 database_arg = database
726 for database in (TESTFN, os.fsencode(TESTFN),
729 sqlite.connect(database, factory=factory).close()
730 self.assertEqual(database_arg, database)
733 with contextlib.closing(sqlite.connect(database=":memory:")) as cx:
1461 "Cannot operate on a closed database",
1851 assert "database is locked" in input()