Skip to content

Commit 42913b5

Browse files
committed
checkpoint
1 parent 83ec82e commit 42913b5

27 files changed

+350
-91
lines changed

rdflib/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@
118118

119119
del sys
120120

121+
#: Checking if this works ...
122+
CHECKME_A = 1
123+
121124

122125
NORMALIZE_LITERALS = True
123126
"""

rdflib/util.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@ def _iri2uri(iri: str) -> str:
620620

621621
def _has_non_default_graphs(graph: rdflib.graph.ConjunctiveGraph) -> bool:
622622
"""
623-
Check if the value passed as `graph` contains graphs other than the default
624-
graph.
623+
Check if the container passed as `graph` contains graphs other than the
624+
default graph.
625625
626626
The intent of this is to detect if the value passed can be serialized using
627627
formats which do not support named graphs like N-Triples and Turtle.
@@ -636,9 +636,9 @@ def _has_non_default_graphs(graph: rdflib.graph.ConjunctiveGraph) -> bool:
636636
least one graph other than the default graph it will return `True`.
637637
"""
638638
default_context = graph.default_context
639-
logging.debug("default_context.identifier = %s", default_context.identifier)
639+
# logging.debug("default_context.identifier = %s", default_context.identifier)
640640
for context_index, context in enumerate(graph.contexts()):
641-
logging.debug("contexts[%s].identifier = %s", context_index, context.identifier)
641+
# logging.debug("contexts[%s].identifier = %s", context_index, context.identifier)
642642
if context.identifier != default_context.identifier:
643643
return True
644644
if context_index > 0:
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"quad_count": 6,
3-
"exact_match": true
2+
"quad_count": 6
43
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"exact_match": true
3+
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"quad_count": 10,
3-
"exact_match": true
2+
"quad_count": 10
43
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"exact_match": true
3+
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"quad_count": 5,
3-
"exact_match": true
2+
"quad_count": 5
43
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"exact_match": true
3+
}

test/data/variants/forward_slash-asserts.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"quad_count": 4,
3-
"exact_match": true,
43
"has_subject_iris": [
54
"http://example.org/kb/individual-a",
65
"http://example.org/kb/individual-b",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"exact_match": true
3+
}

0 commit comments

Comments
 (0)