[#255] Split JSON-LD tests by API - #340
Merged
Merged
Conversation
Contributor
mielvds
reviewed
Sep 14, 2026
mielvds
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for the action @anatoly-scherbakov ! May I suggest a slight scope change to this PR. In to_rdf, We have two nquads formatting styles mixed:
assert nquads == (
'<http://example.com/s> <http://example.com/p> '
'"1.0E21"^^<http://www.w3.org/2001/XMLSchema#double> .\n\n'
)
and
expected = """_:custom0 <http://example.org/p> _:custom1 .
_:custom1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "a"^^<http://www.w3.org/2001/XMLSchema#string> .
_:custom1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:custom2 .
_:custom2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "b"^^<http://www.w3.org/2001/XMLSchema#string> .
_:custom2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
"""
Could we unify those to either one? This PR seems like the place to do this
anatoly-scherbakov
force-pushed
the
codex/255-split-jsonld-tests
branch
from
September 14, 2026 19:44
2d97c41 to
ca65470
Compare
Collaborator
Author
|
Updated the complete exact N-Quads expectations in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #255; stacked on #339.
Replaces the combined JSON-LD test module with function-based modules grouped by public API.
Validation:
pytest tests/jsonldpytest --ignore tests/test_manifests.pymake lint