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 20ab789 commit b36aa69Copy full SHA for b36aa69
1 file changed
Lib/test/test_sqlite3/test_factory.py
@@ -151,6 +151,11 @@ def test_delete_connection_row_factory(self):
151
with self.assertRaises(AttributeError):
152
del self.con.row_factory
153
154
+ def test_delete_connection_text_factory(self):
155
+ # gh-149738: deleting text_factory should raise an exception
156
+ with self.assertRaises(AttributeError):
157
+ del self.con.text_factory
158
+
159
def test_sqlite_row_index_unicode(self):
160
row = self.con.execute("select 1 as \xff").fetchone()
161
self.assertEqual(row["\xff"], 1)
0 commit comments