We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9eb73d commit dc60055Copy full SHA for dc60055
Lib/test/test_sqlite3/test_dbapi.py
@@ -756,7 +756,7 @@ def test_wal_preservation(self):
756
757
758
def test_file_control_raises(self):
759
- with contextlib.closing(sqlite.connect(database=":memory:")) as cx:
+ with memory_database() as con:
760
with self.assertRaises(sqlite.ProgrammingError):
761
cx.set_file_control(sqlite.SQLITE_FCNTL_PERSIST_WAL, 1)
762
@@ -1888,8 +1888,6 @@ def test_on_conflict_replace(self):
1888
self.assertEqual(self.cu.fetchall(), [('Very different data!', 'foo')])
1889
1890
1891
-
1892
1893
@requires_subprocess()
1894
class MultiprocessTests(unittest.TestCase):
1895
CONNECTION_TIMEOUT = 0 # Disable the busy timeout.
0 commit comments