diff options
Diffstat (limited to 'test/test_graph/test_namespace_rebinding.py')
-rw-r--r-- | test/test_graph/test_namespace_rebinding.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/test_graph/test_namespace_rebinding.py b/test/test_graph/test_namespace_rebinding.py index f83da974..3125d57e 100644 --- a/test/test_graph/test_namespace_rebinding.py +++ b/test/test_graph/test_namespace_rebinding.py @@ -15,7 +15,6 @@ FOAF2 = Namespace(foaf2_uri) def test_binding_replace(): - # The confusion here is in the two arguments “override” and “replace” and # how they serve two different purposes --- changing a prefix already bound # to a namespace versus changing a namespace already bound to a prefix. @@ -186,7 +185,6 @@ def test_binding_replace(): def test_prefix_alias_disallowed(): - # CANNOT BIND A PREFIX ALIASED TO AN EXISTING BOUND NAMESPACE g = Graph(bind_namespaces="none") @@ -199,7 +197,6 @@ def test_prefix_alias_disallowed(): def test_rebind_prefix_succeeds(): - # CAN REPLACE A PREFIX-NAMESPACE BINDING g = Graph(bind_namespaces="none") @@ -212,7 +209,6 @@ def test_rebind_prefix_succeeds(): def test_parse_rebinds_prefix(): - # PARSED PREFIX-NAMESPACE BINDINGS REPLACE EXISTING BINDINGS data = """@prefix friend-of-a-friend: <http://xmlns.com/foaf/0.1/> . @@ -241,7 +237,6 @@ def test_parse_rebinds_prefix(): """ ) def test_automatic_handling_of_unknown_predicates(): - # AUTOMATIC HANDLING OF UNKNOWN PREDICATES """ @@ -260,7 +255,6 @@ def test_automatic_handling_of_unknown_predicates(): def test_automatic_handling_of_unknown_predicates_only_effected_after_serialization(): - g = Graph(bind_namespaces="none") g.add((tarek, URIRef("http://xmlns.com/foaf/0.1/name"), Literal("Tarek"))) @@ -398,7 +392,6 @@ def test_new_namespace_override_false(): def test_change_namespace_and_prefix(): - # A more extensive illustration of attempted rebinds of # `foaf` being intercepted and changed to a non-clashing # prefix of `foafN` (where N is an incrementing integer) ... |