Skip to content

Commit

Permalink
Fix flake8 #286
Browse files Browse the repository at this point in the history
  • Loading branch information
xzkostyan committed Jan 23, 2024
1 parent e129569 commit 76d93b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/drivers/native/test_cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ def test_check_iter_cursor(self):
self.assertListEqual(list(rv), [(x,) for x in range(5)])

def test_execute_with_stream(self):
rv = self.session.execute(text("SELECT * FROM system.numbers LIMIT 1")).yield_per(10)
rv = self.session.execute(
text("SELECT * FROM system.numbers LIMIT 1")
).yield_per(10)

self.assertEqual(len(rv.fetchall()), 1)

Expand Down

0 comments on commit 76d93b7

Please sign in to comment.