From: Benjamin Peterson Date: Sat, 15 Feb 2014 18:19:59 +0000 (-0500) Subject: add missing test assertion (closes #20080) X-Git-Tag: v2.7.7rc1~172 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33b8219aa6542d633ead4f77c56b51b1e2fc602e;p=python add missing test assertion (closes #20080) Patch by Vajrasky Kok. --- diff --git a/Lib/sqlite3/test/factory.py b/Lib/sqlite3/test/factory.py index a0d11ec0f3..954862c0d2 100644 --- a/Lib/sqlite3/test/factory.py +++ b/Lib/sqlite3/test/factory.py @@ -112,6 +112,7 @@ class RowFactoryTests(unittest.TestCase): 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"""