diff options
Diffstat (limited to 'test/test_nt_w3c.py')
-rw-r--r-- | test/test_nt_w3c.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_nt_w3c.py b/test/test_nt_w3c.py index 99c52fac..65166f5e 100644 --- a/test/test_nt_w3c.py +++ b/test/test_nt_w3c.py @@ -8,6 +8,7 @@ from .testutils import nose_tst_earl_report verbose = False + def nt(test): g = Graph() @@ -19,16 +20,19 @@ def nt(test): if test.syntax: raise + testers = { RDFT.TestNTriplesPositiveSyntax: nt, RDFT.TestNTriplesNegativeSyntax: nt } + def test_nt(tests=None): for t in nose_tests(testers, 'test/w3c/nt/manifest.ttl', legacy=True): if tests: for test in tests: - if test in t[1].uri: break + if test in t[1].uri: + break else: continue |