Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
  • Loading branch information
erlend-aasland and felixxm committed Apr 24, 2024
1 parent 48ea298 commit d154cf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lib/test/test_sqlite3/test_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def __getitem__(self, index):
self.assertEqual(expected, got)

def test_dump_custom_row_factory(self):
# gh-118221: iterdump should be able to cope with custom row factories
# gh-118221: iterdump should be able to cope with custom row factories.
def dict_factory(cu, row):
fields = [col[0] for col in cu.description]
return {k: v for k, v in zip(fields, row)}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Fix a bug where :func:`sqlite3.iterdump` could fail if a custom :attr:`row
factory <sqlite3.Cursor.row_factory>` was supplied. Patch by Erlend Aasland.
factory <sqlite3.Connection.row_factory>` was used. Patch by Erlend Aasland.

0 comments on commit d154cf9

Please sign in to comment.