diff --git a/test/test_issue457.py b/test/test_issue457.py index f9957dbe1..19dfd7fb3 100644 --- a/test/test_issue457.py +++ b/test/test_issue457.py @@ -4,11 +4,10 @@ from xml.etree import ElementTree import rdflib -from rdflib.plugins.stores.sparqlstore import CastToTerm +from rdflib.plugins.stores.sparqlstore import _node_from_result from rdflib.py3compat import b s = b("""""") node = ElementTree.parse(io.BytesIO(s)).getroot() -term = CastToTerm(node) -assert term == rdflib.Literal(''), repr(term) - +term = _node_from_result(node) +assert term == rdflib.Literal(''), repr(term)