Skip to content

Commit

Permalink
Test range checks in fetchone
Browse files Browse the repository at this point in the history
  • Loading branch information
yunyu authored and auxten committed Jan 4, 2024
1 parent 2637c03 commit e87a822
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_dbapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def test_insert_and_read_data(self):
self.assertEqual(row1, (96,))
row2 = cur.fetchone()
self.assertEqual(row2, (72,))
row3 = cur.fetchone()
self.assertIsNone(row3)

# Test fetchmany
cur.execute("SELECT value FROM rate ORDER BY day DESC")
Expand Down

0 comments on commit e87a822

Please sign in to comment.