Skip to content

Commit 7693f07

Browse files
author
Zhen Li
committed
Fix a typo in example tag
1 parent a47ee4d commit 7693f07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/test_examples.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,11 @@ def test_handle_cypher_error(self):
225225
driver = GraphDatabase.driver("bolt://localhost", auth=auth_token)
226226
session = driver.session()
227227
with self.assertRaises(RuntimeError):
228-
# tag::handle-cypher-error
228+
# tag::handle-cypher-error[]
229229
try:
230230
session.run("This will cause a syntax error").consume()
231231
except CypherError:
232232
raise RuntimeError("Something really bad has happened!")
233233
finally:
234234
session.close()
235-
# end::handle-cypher-error
235+
# end::handle-cypher-error[]

0 commit comments

Comments
 (0)