Skip to content

Commit 223328f

Browse files
sqlite3_file_control
1 parent 718eba6 commit 223328f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_sqlite3/test_dbapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ def test_wal_preservation(self):
759759
def test_file_control_raises(self):
760760
with memory_database() as cx:
761761
with self.assertRaises(sqlite.ProgrammingError):
762-
cx.set_file_control(sqlite.SQLITE_FCNTL_PERSIST_WAL, 1)
762+
cx.file_control(sqlite.SQLITE_FCNTL_PERSIST_WAL, 1)
763763

764764

765765
class CursorTests(unittest.TestCase):

0 commit comments

Comments
 (0)