Skip to content

Commit

Permalink
Merge pull request #359 from dbs/skip_sparqlstore
Browse files Browse the repository at this point in the history
Skip SPARQLWrapper test if SPARQLWrapper is not installed
  • Loading branch information
gromgull committed Feb 28, 2014
2 parents fdbb9e9 + dcbfb3d commit f511ede
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test_core_sparqlstore.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import unittest
try:
import SPARQLWrapper
except ImportError:
from nose.exc import SkipTest
raise SkipTest("SPARQLWrapper not installed")

from rdflib.graph import Graph


Expand Down

0 comments on commit f511ede

Please sign in to comment.