this close is hoped to address failures that have been occurring
on github actions under python 3.13, although i am able to reproduce
the problem on other python versions as well when running
test/orm/test_events.py with the --random extension.
Change-Id: If0c4110815fd8625b39b2d74de26ac965401de14
(cherry picked from commit
b0d9d5a44cdd5632d209149a6a6622073acee3da)
if from_stmt:
stmt = select(User).from_statement(stmt.returning(User))
- sess.execute(stmt)
+ result = sess.execute(stmt)
+ result.close()
eq_(
canary.mock_calls,