summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-02-15 18:19:59 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-02-15 18:19:59 (GMT)
commit29352c436cc2489c76736cb1cff00fbdcf7bb0cd (patch)
tree3d06a5cba5b0eb24fad3a8ecdadf034ee07f38e9 /Lib
parent9743b2c2b584b0f0e56e33705e81b8b663dc03c3 (diff)
downloadcpython-29352c436cc2489c76736cb1cff00fbdcf7bb0cd.zip
cpython-29352c436cc2489c76736cb1cff00fbdcf7bb0cd.tar.gz
cpython-29352c436cc2489c76736cb1cff00fbdcf7bb0cd.tar.bz2
add missing test assertion (closes #20080)
Patch by Vajrasky Kok.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/sqlite3/test/factory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/sqlite3/test/factory.py b/Lib/sqlite3/test/factory.py
index 0314ebd..1013755 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"""