From: Benjamin Peterson Date: Sat, 15 Feb 2014 18:19:59 +0000 (-0500) Subject: add missing test assertion (closes #20080) X-Git-Tag: v3.3.5rc1~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=29352c436cc2489c76736cb1cff00fbdcf7bb0cd;p=thirdparty%2FPython%2Fcpython.git 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 0314ebd4411a..1013755b9cfd 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"""