We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a47ee4d commit 7693f07Copy full SHA for 7693f07
examples/test_examples.py
@@ -225,11 +225,11 @@ def test_handle_cypher_error(self):
225
driver = GraphDatabase.driver("bolt://localhost", auth=auth_token)
226
session = driver.session()
227
with self.assertRaises(RuntimeError):
228
- # tag::handle-cypher-error
+ # tag::handle-cypher-error[]
229
try:
230
session.run("This will cause a syntax error").consume()
231
except CypherError:
232
raise RuntimeError("Something really bad has happened!")
233
finally:
234
session.close()
235
- # end::handle-cypher-error
+ # end::handle-cypher-error[]
0 commit comments