[Python-checkins] cpython (merge 3.3 -> default): merge 3.3 (#20080)

benjamin.peterson python-checkins at python.org
Sat Feb 15 19:20:51 CET 2014


http://hg.python.org/cpython/rev/93d7f8223370
changeset:   89204:93d7f8223370
parent:      89201:b077ee45f14f
parent:      89203:66c7791d9841
user:        Benjamin Peterson <benjamin at python.org>
date:        Sat Feb 15 13:20:28 2014 -0500
summary:
  merge 3.3 (#20080)

files:
  Lib/sqlite3/test/factory.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/sqlite3/test/factory.py b/Lib/sqlite3/test/factory.py
--- a/Lib/sqlite3/test/factory.py
+++ b/Lib/sqlite3/test/factory.py
@@ -112,6 +112,7 @@
         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"""

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list