Skip to content

Commit

Permalink
Thick mode defers throwing the exception until a fetch is attempted.
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-tuininga committed May 27, 2024
1 parent 5d0a183 commit 53b3d87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_4300_cursor_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -986,6 +986,7 @@ def test_4366(self):
from dual"""
with self.assertRaisesFullCode("ORA-01476"):
self.cursor.execute(sql, val="a")
self.cursor.fetchall()
self.cursor.execute(sql, val="bb")
lob, num_val = self.cursor.fetchone()
self.assertEqual(lob.read(), "bb")
Expand Down

0 comments on commit 53b3d87

Please sign in to comment.