We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 685e7ea commit 442b3b6Copy full SHA for 442b3b6
test/integration/test_session.py
@@ -357,8 +357,10 @@ def test_last_run_statement_should_be_cleared_on_failure(self):
357
connection_1 = session._connection
358
assert connection_1._last_run_statement == "RETURN 1"
359
with self.assertRaises(CypherSyntaxError):
360
- tx.run("X").consume()
361
- connection_2 = session._connection
+ result = tx.run("X")
+ connection_2 = session._connection
362
+ result.consume()
363
+ # connection_2 = session._connection
364
assert connection_2 is connection_1
365
assert connection_2._last_run_statement is None
366
tx.close()
0 commit comments