From 7693f07424eb9e3e5b3975f9510735e02be5fdb1 Mon Sep 17 00:00:00 2001 From: Zhen Li Date: Thu, 21 Apr 2016 12:13:05 +0200 Subject: [PATCH] Fix a typo in example tag --- examples/test_examples.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/test_examples.py b/examples/test_examples.py index 36b523efe..be2a1c3ef 100644 --- a/examples/test_examples.py +++ b/examples/test_examples.py @@ -225,11 +225,11 @@ def test_handle_cypher_error(self): driver = GraphDatabase.driver("bolt://localhost", auth=auth_token) session = driver.session() with self.assertRaises(RuntimeError): - # tag::handle-cypher-error + # tag::handle-cypher-error[] try: session.run("This will cause a syntax error").consume() except CypherError: raise RuntimeError("Something really bad has happened!") finally: session.close() - # end::handle-cypher-error + # end::handle-cypher-error[]