summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Car <nicholas.car@surroundaustralia.com>2020-10-07 00:21:50 +1000
committerNicholas Car <nicholas.car@surroundaustralia.com>2020-10-07 00:21:50 +1000
commitc923eb554ae7c33a9545f6499ff5ab994c49ccd2 (patch)
treec9495f76f8b2a0d123f5e691e70245ee57098419
parent1ddb2a3b3bb3a1f9c830b1f1e1b79ed2cf57e8cc (diff)
downloadrdflib-c923eb554ae7c33a9545f6499ff5ab994c49ccd2.tar.gz
update SPARQLStore test due to Error type changeremove_requests
-rw-r--r--test/test_sparqlstore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_sparqlstore.py b/test/test_sparqlstore.py
index a3ee4ea8..63b475cc 100644
--- a/test/test_sparqlstore.py
+++ b/test/test_sparqlstore.py
@@ -50,7 +50,7 @@ class SPARQLStoreDBPediaTestCase(unittest.TestCase):
SELECT ?label WHERE
{ ?s a xyzzy:Concept ; xyzzy:prefLabel ?label . } LIMIT 10
"""
- self.assertRaises(HTTPError, self.graph.query, query)
+ self.assertRaises(ValueError, self.graph.query, query)
def test_query_with_added_prolog(self):
prologue = """\