MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / raise_

Method raise_

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

Source from the content-addressed store, hash-verified

3556 def test_handle_error_in_fetch(self, strategy_cls, method_name):
3557 class cursor:
3558 def raise_(self):
3559 raise OSError("random non-DBAPI error during cursor operation")
3560
3561 def fetchone(self):
3562 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