Skip to content

Conversation

@ajnelson-nist
Copy link
Contributor

@ajnelson-nist ajnelson-nist commented Sep 10, 2021

This is a follow-on patch to:
e778e94

Test was confirmed to pass by running this on the current master
branch, and confirmed to fail with e778e94 reverted.

nosetests test/test_parse_file_guess_format.py

Signed-off-by: Alex Nelson [email protected]

Proposed Changes

  • Adds unit test to confirm JSON-LD example parses without format hint assistance.

This is a follow-on patch to:
e778e94

Test was confirmed to pass by running this on the current `master`
branch, and confirmed to fail with e778e94 reverted.

    nosetests test/test_parse_file_guess_format.py

Signed-off-by: Alex Nelson <[email protected]>
@nicholascar nicholascar merged commit dad85e6 into RDFLib:master Sep 17, 2021
@ajnelson-nist ajnelson-nist deleted the test-adding-json-ld-to-guess-format branch September 17, 2021 14:40
ajnelson-nist added a commit to casework/CASE-Utilities-Python that referenced this pull request Sep 28, 2021
rdflib 6.0.1 upgraded `guess_format()` to report JSON-LD (via PRs 1403
and 1408).  With the functionality upstream, this patch moves towards
completing tech. transfer by deprecating the local implementation.

References:
* RDFLib/rdflib#1403
* RDFLib/rdflib#1408

Signed-off-by: Alex Nelson <[email protected]>
ajnelson-nist added a commit to casework/CASE-Utilities-Python that referenced this pull request Sep 28, 2021
rdflib 6.0.0 improved filename-based format recognition.  (Tests for
recognition were upgraded to support JSON-LD in PR 1408.)

This patch removes explicit-but-redundant functionality.

References:
* RDFLib/rdflib#1408

Signed-off-by: Alex Nelson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants