From adb6d517afcf902332ca2be90da34de74f064f4d Mon Sep 17 00:00:00 2001 From: Urs Holzer Date: Tue, 7 May 2013 22:21:30 +0200 Subject: Fixing tests wrt. multiply registered parsers and serializers --- test/test_finalnewline.py | 2 +- test/test_roundtrip.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_finalnewline.py b/test/test_finalnewline.py index dbd3d7ba..acbe6149 100644 --- a/test/test_finalnewline.py +++ b/test/test_finalnewline.py @@ -23,7 +23,7 @@ def testFinalNewline(): failed = set() for p in rdflib.plugin.plugins(None, rdflib.plugin.Serializer): - if p.name not in ( 'nquads', 'trix' ): + if p.name not in ( 'application/n-quads', 'nquads', 'trix' ): v = graph.serialize(format=p.name) lines = v.split(b("\n")) if b("\n") not in v or (lines[-1]!=b('')): diff --git a/test/test_roundtrip.py b/test/test_roundtrip.py index 4ab0fd56..757b608c 100644 --- a/test/test_roundtrip.py +++ b/test/test_roundtrip.py @@ -26,6 +26,7 @@ tests roundtripping through rdf/xml with only the literals-02 file SKIP = [ ('xml', 'test/nt/qname-02.nt'), # uses a property that cannot be qname'd + ('application/rdf+xml', 'test/nt/qname-02.nt'), # uses a property that cannot be qname'd ] -- cgit v1.2.1