summaryrefslogtreecommitdiffstats
path: root/Lib/sqlite3/test
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-02-15 18:20:28 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-02-15 18:20:28 (GMT)
commit5ef48d9c791f2dba840fd92bebdcb5f82d24eeca (patch)
treedba69f7e9fed911a4d76f81e52f2b610831a3bb5 /Lib/sqlite3/test
parent4267869ad892520ef26dc403b988ef6b5b3fe428 (diff)
parent29352c436cc2489c76736cb1cff00fbdcf7bb0cd (diff)
downloadcpython-5ef48d9c791f2dba840fd92bebdcb5f82d24eeca.zip
cpython-5ef48d9c791f2dba840fd92bebdcb5f82d24eeca.tar.gz
cpython-5ef48d9c791f2dba840fd92bebdcb5f82d24eeca.tar.bz2
merge 3.3 (#20080)
Diffstat (limited to 'Lib/sqlite3/test')
-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"""