Skip to content

Commit

Permalink
some tests magically fixed themselves, remove them from known_bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysommer committed Jul 9, 2021
1 parent e9f3f9c commit 5e4503e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
10 changes: 2 additions & 8 deletions test/jsonld/test_onedotone.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down
10 changes: 4 additions & 6 deletions test/jsonld/test_testsuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down

0 comments on commit 5e4503e

Please sign in to comment.