summaryrefslogtreecommitdiff
path: root/test/jsonld
diff options
context:
space:
mode:
authorAshley Sommer <Ashley.Sommer@csiro.au>2021-07-09 14:25:01 +1000
committerAshley Sommer <Ashley.Sommer@csiro.au>2021-07-09 14:25:01 +1000
commit5e4503ed21e54871cf1262677811c50f5d19d791 (patch)
treeeff8c66e1fd8039fa11a3b94bd849474b977612c /test/jsonld
parente9f3f9c6bba987333f3bb2ccc4e78d49d8aa961a (diff)
downloadrdflib-5e4503ed21e54871cf1262677811c50f5d19d791.tar.gz
some tests magically fixed themselves, remove them from known_bugs
Diffstat (limited to 'test/jsonld')
-rw-r--r--test/jsonld/test_onedotone.py10
-rw-r--r--test/jsonld/test_testsuite.py10
2 files changed, 6 insertions, 14 deletions
diff --git a/test/jsonld/test_onedotone.py b/test/jsonld/test_onedotone.py
index 87b6a949..9d3a1280 100644
--- a/test/jsonld/test_onedotone.py
+++ b/test/jsonld/test_onedotone.py
@@ -19,16 +19,10 @@ unsupported_tests += ("html",)
unsupported_tests += ("fromRdf",) # The JSON-LD 1.1 enhancement applies to parsing only
known_bugs = (
- # invalid nquads (bnode as predicate)
- # "toRdf-0078-in", "toRdf-0108-in",
# TODO: Literal doesn't preserve representations
"fromRdf/0002-in",
# RDflib does not print Integer with scientific notation
- "toRdf/0022-in", # TODO: RDFLib considers Doubles with Different input-Lexical
- "toRdf/0071-in", # form as different, when comparing isomorphicly
- "toRdf/e031-in", # using the literal __hash__ function
"toRdf/0035-in",
- # tordf-0118-in
# TODO: "http:g" should serialize to "http:g", not "//g"
"toRdf/0120-in",
"toRdf/0121-in",
@@ -69,7 +63,7 @@ known_bugs = (
"toRdf/e080-in", "toRdf/e092-in", "toRdf/e093-in", "toRdf/e094-in", "toRdf/e104-in", "toRdf/e108-in",
# TODO: Odd result in list expansion
"toRdf/e105-in", "toRdf/e107-in",
- # no expantContent option?
+ # no expandContent option?
"toRdf/e077-in",
# TODO: Investigate:
"toRdf/e111-in", "toRdf/e112-in", "toRdf/e119-in", "toRdf/e120-in", "toRdf/e122-in",
@@ -81,7 +75,7 @@ known_bugs = (
"toRdf/e125-in",
# Recursive Inclusion triggered!
"toRdf/e128-in",
- # JSON double representation
+ # JSON-native double representation
"toRdf/js04-in", "toRdf/js10-in",
# JSON character escaping
"toRdf/js12-in", "toRdf/js13-in",
diff --git a/test/jsonld/test_testsuite.py b/test/jsonld/test_testsuite.py
index 68ab6c70..f439d5ed 100644
--- a/test/jsonld/test_testsuite.py
+++ b/test/jsonld/test_testsuite.py
@@ -18,15 +18,13 @@ known_bugs = (
# "toRdf-0078-in", "toRdf-0108-in",
# TODO: Literal doesn't preserve representations
"fromRdf-0002-in",
- "toRdf-0022-in", # TODO: RDFLib considers Doubles with Different input-Lexical
- "toRdf-0071-in", # form as different, when comparing isomorphicly
"toRdf-0035-in",
- "toRdf-0101-in",
+ "toRdf-0101-in", # Literal doesn't preserve representations
"fromRdf-0008-in", # TODO: needs to disallow outer lists-of-lists
- # "toRdf-0091-in", # TODO: multiple aliases version?
- # TODO: check that these are corrected in 1.1 testsuite (1.0-deprecated prefix forms)
+ # # "toRdf-0091-in", # TODO: multiple aliases version?
+ # # TODO: check that these are corrected in 1.1 testsuite (1.0-deprecated prefix forms)
"toRdf-0088-in",
- "toRdf-0118-in",
+ "toRdf-0118-in", # RDFLib cannot do generalized graphs
)
TC_BASE = "https://w3c.github.io/json-ld-api/tests/"