MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / raise_

Method raise_

test/sql/test_resultset.py:3645–3646  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3643 def test_handle_error_in_fetch(self, strategy_cls, method_name):
3644 class cursor:
3645 def raise_(self):
3646 raise OSError("random non-DBAPI error during cursor operation")
3647
3648 def fetchone(self):
3649 self.raise_()

Callers 4

fetchoneMethod · 0.95
fetchmanyMethod · 0.95
fetchallMethod · 0.95
closeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected