Skip to content

Commit

Permalink
Update doctest for get_labels.
Browse files Browse the repository at this point in the history
  • Loading branch information
markpbaggett committed Jul 2, 2022
1 parent dce9a25 commit ff51ced
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion inquisitor/question.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ def get_labels(self, subject=None):
Examples:
>>> RDFInquisitor("http://rightsstatements.org/vocab/InC/1.0/").get_labels()
... #doctest: +NORMALIZE_WHITESPACE
[(rdflib.term.Literal('Urheberrechtsschutz', lang='de'),
[(rdflib.term.Literal('Protegit per Drets d’Autor', lang='ca'),
rdflib.term.URIRef('http://www.w3.org/2004/02/skos/core#prefLabel')),
(rdflib.term.Literal('Urheberrechtsschutz', lang='de'),
rdflib.term.URIRef('http://www.w3.org/2004/02/skos/core#prefLabel')),
(rdflib.term.Literal('In Copyright', lang='en'),
rdflib.term.URIRef('http://www.w3.org/2004/02/skos/core#prefLabel')),
Expand All @@ -202,6 +204,8 @@ def get_labels(self, subject=None):
rdflib.term.URIRef('http://www.w3.org/2004/02/skos/core#prefLabel')),
(rdflib.term.Literal('प्रतिलिप्यधिकार (कॉपीराइट) में', lang='hi'),
rdflib.term.URIRef('http://www.w3.org/2004/02/skos/core#prefLabel')),
(rdflib.term.Literal('Zaštićeno autorskim pravom', lang='hr'),
rdflib.term.URIRef('http://www.w3.org/2004/02/skos/core#prefLabel')),
(rdflib.term.Literal('In Copyright', lang='it'),
rdflib.term.URIRef('http://www.w3.org/2004/02/skos/core#prefLabel')),
(rdflib.term.Literal('Autorių teisės saugomos', lang='lt'),
Expand Down

0 comments on commit ff51ced

Please sign in to comment.