New submission from Vajrasky Kok: There is unused variable t in Lib/sqlite3/test/factory.py.
def CheckSqliteRowAsTuple(self): """Checks if the row object can be converted to a tuple""" self.con.row_factory = sqlite.Row row = self.con.execute("select 1 as a, 2 as b").fetchone() t = tuple(row) def CheckSqliteRowAsDict(self): Attached the patch to give the purpose to variable t. ---------- components: Tests files: unused_variable_in_factory_py.patch keywords: patch messages: 206990 nosy: vajrasky priority: normal severity: normal status: open title: Unused variable in Lib/sqlite3/test/factory.py type: behavior versions: Python 2.7, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file33279/unused_variable_in_factory_py.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20080> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com