summaryrefslogtreecommitdiff
path: root/test/test_nquads_w3c.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_nquads_w3c.py')
-rw-r--r--test/test_nquads_w3c.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/test_nquads_w3c.py b/test/test_nquads_w3c.py
index 1c132e9b..f12850d2 100644
--- a/test/test_nquads_w3c.py
+++ b/test/test_nquads_w3c.py
@@ -8,6 +8,7 @@ from .testutils import nose_tst_earl_report
verbose = False
+
def nquads(test):
g = ConjunctiveGraph()
@@ -19,16 +20,19 @@ def nquads(test):
if test.syntax:
raise
+
testers = {
RDFT.TestNQuadsPositiveSyntax: nquads,
RDFT.TestNQuadsNegativeSyntax: nquads
}
-def test_nquads(tests = None):
+
+def test_nquads(tests=None):
for t in nose_tests(testers, 'test/w3c/nquads/manifest.ttl'):
if tests:
for test in tests:
- if test in t[1].uri: break
+ if test in t[1].uri:
+ break
else:
continue