diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-02-15 18:19:59 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-02-15 18:19:59 (GMT) |
commit | 33b8219aa6542d633ead4f77c56b51b1e2fc602e (patch) | |
tree | d8e52b52e77b57f389eb4e154a120de1397eb459 /Lib/sqlite3 | |
parent | 7a91bf8675bbe950b8fd850605b2e126abb95024 (diff) | |
download | cpython-33b8219aa6542d633ead4f77c56b51b1e2fc602e.zip cpython-33b8219aa6542d633ead4f77c56b51b1e2fc602e.tar.gz cpython-33b8219aa6542d633ead4f77c56b51b1e2fc602e.tar.bz2 |
add missing test assertion (closes #20080)
Patch by Vajrasky Kok.
Diffstat (limited to 'Lib/sqlite3')
-rw-r--r-- | 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 index a0d11ec..954862c 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""" |