]> granicus.if.org Git - python/commitdiff
add missing test assertion (closes #20080)
authorBenjamin Peterson <benjamin@python.org>
Sat, 15 Feb 2014 18:19:59 +0000 (13:19 -0500)
committerBenjamin Peterson <benjamin@python.org>
Sat, 15 Feb 2014 18:19:59 +0000 (13:19 -0500)
Patch by Vajrasky Kok.

Lib/sqlite3/test/factory.py

index a0d11ec0f36dd7847923a851abefcd7ff1682c30..954862c0d27c8ed213275872e3ead129712f9dce 100644 (file)
@@ -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"""