Skip to content

Commit 04f679a

Browse files
WhiteGoboWhiteGoboaucampia
committed
test: skip two SPARQL 1.0 tests that should not pass with SPARQL 1.1
Skip the following tests that rely on SPARQL 1.0 grammar and are incompatible with the SPARQL 1.1 grammar: - <http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/manifest#term-6> - <http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/manifest#term-7> --------- Co-authored-by: WhiteGobo <richardfechner@posteo.net> Co-authored-by: Iwan Aucamp <aucampia@gmail.com>
1 parent f1e1316 commit 04f679a

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

test/test_w3c_spec/test_sparql10_w3c.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@
2323
(REMOTE_BASE_IRI, ensure_suffix(LOCAL_BASE_DIR.as_uri(), "/")),
2424
)
2525
MARK_DICT: MarksDictType = {
26-
f"{REMOTE_BASE_IRI}basic/manifest#term-6": pytest.mark.xfail(
27-
reason="query misinterpreted."
26+
f"{REMOTE_BASE_IRI}basic/manifest#term-6": pytest.mark.skip(
27+
reason="using Sparql 1.1 which is not backwards compatible. "
28+
"'456.' will be interpreted differently in query and data."
29+
),
30+
f"{REMOTE_BASE_IRI}basic/manifest#term-7": pytest.mark.skip(
31+
reason="using Sparql 1.1 which is not backwards compatible. "
32+
"'456.' will be interpreted differently in query and data."
2833
),
29-
f"{REMOTE_BASE_IRI}basic/manifest#term-7": pytest.mark.xfail(reason="..."),
3034
f"{REMOTE_BASE_IRI}expr-builtin/manifest#dawg-datatype-2": pytest.mark.xfail(
3135
reason="additional row in output"
3236
),

test_reports/rdflib_w3c_sparql10-HEAD.ttl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,15 +323,15 @@
323323
earl:assertedBy <https://github.com/RDFLib/rdflib> ;
324324
earl:mode earl:automatic ;
325325
earl:result [ a earl:TestResult ;
326-
earl:outcome earl:failed ] ;
326+
earl:outcome earl:untested ] ;
327327
earl:subject <https://github.com/RDFLib/rdflib> ;
328328
earl:test <http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/manifest#term-6> .
329329

330330
[] a earl:Assertion ;
331331
earl:assertedBy <https://github.com/RDFLib/rdflib> ;
332332
earl:mode earl:automatic ;
333333
earl:result [ a earl:TestResult ;
334-
earl:outcome earl:failed ] ;
334+
earl:outcome earl:untested ] ;
335335
earl:subject <https://github.com/RDFLib/rdflib> ;
336336
earl:test <http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/manifest#term-7> .
337337

0 commit comments

Comments
 (0)