From 5e4503ed21e54871cf1262677811c50f5d19d791 Mon Sep 17 00:00:00 2001 From: Ashley Sommer Date: Fri, 9 Jul 2021 14:25:01 +1000 Subject: [PATCH] some tests magically fixed themselves, remove them from known_bugs --- test/jsonld/test_onedotone.py | 10 ++-------- test/jsonld/test_testsuite.py | 10 ++++------ 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/test/jsonld/test_onedotone.py b/test/jsonld/test_onedotone.py index 87b6a9495..9d3a12808 100644 --- a/test/jsonld/test_onedotone.py +++ b/test/jsonld/test_onedotone.py @@ -19,16 +19,10 @@ 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 @@ "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 @@ "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 68ab6c706..f439d5ed4 100644 --- a/test/jsonld/test_testsuite.py +++ b/test/jsonld/test_testsuite.py @@ -18,15 +18,13 @@ # "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/"