Skip to content

Commit 294c079

Browse files
committed
Correct expected output in test
1 parent 5f6362a commit 294c079

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tests/test_to_rdf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ def test_conflicting_property_names_in_nested_node():
4646
"dublinCore": {"title": "Chapter 1: Jonathan Harker's Journal"},
4747
}
4848

49-
expected = """<http://foo.bar/obj/test> <http://foo.bar/dc> _:b0 .
50-
<http://foo.bar/obj/test> <http://foo.bar/title> "test" .
51-
_:b0 <http://purl.org/dc/terms/title> "Chapter 1: Jonathan Harker's Journal" .
49+
expected = """<http://foo.bar/obj/test> <http://foo.bar/title> "test" .
50+
<http://foo.bar/obj/test> <http://purl.org/dc/terms/title> "Chapter 1: Jonathan Harker's Journal" .
5251
"""
5352

5453
nquads = jsonld.to_rdf(input, options={'format': 'application/n-quads'})

0 commit comments

Comments
 (0)