(original) (raw)

changeset: 89203:66c7791d9841 branch: 3.3 parent: 89199:b9947b68ab61 user: Benjamin Peterson benjamin@python.org date: Sat Feb 15 13:19:59 2014 -0500 files: Lib/sqlite3/test/factory.py description: add missing test assertion (closes #20080) Patch by Vajrasky Kok. diff -r b9947b68ab61 -r 66c7791d9841 Lib/sqlite3/test/factory.py --- a/Lib/sqlite3/test/factory.py Sat Feb 15 13:02:52 2014 -0500 +++ b/Lib/sqlite3/test/factory.py Sat Feb 15 13:19:59 2014 -0500 @@ -112,6 +112,7 @@ self.con.row_factory = sqlite.Row row = self.con.execute("select 1 as a, 2 as b").fetchone() t = tuple(row) + self.assertEqual(t, (row['a'], row['b'])) def CheckSqliteRowAsDict(self): """Checks if the row object can be correctly converted to a dictionary""" /benjamin@python.org