@@ -0,0 +1,1021 @@
+from unittest import TestCase%0Afrom rdflib.graph import ConjunctiveGraph%0Afrom nose.exc import SkipTest%0A%0Aclass EntityTest(TestCase):%0A%0A    def test_turtle_namespace_prefixes(self):%0A        raise SkipTest('Skipping: Turtle serializer preserves n3 prefixes (eg. %22_9%22) that violate Turtle syntax.')%0A        g = ConjunctiveGraph()%0A        n3 = %5C%0A        %22%22%22%0A        @prefix _9: %3Chttp://data.linkedmdb.org/resource/movie/%3E .%0A        @prefix rdfs: %3Chttp://www.w3.org/2000/01/rdf-schema#%3E .%0A%0A        %3Chttp://data.linkedmdb.org/resource/director/1%3E a%0A        %3Chttp://data.linkedmdb.org/resource/movie/director%3E;%0A            rdfs:label %22Cecil B. DeMille (Director)%22;%0A            _9:director_name %22Cecil B. DeMille%22 .%22%22%22%0A        g.parse(data=n3, format='n3')%0A        turtle = g.serialize(format=%22turtle%22)%0A        # Check round-tripping, just for kicks.%0A        g = ConjunctiveGraph()%0A        g.parse(data=turtle, format='turtle')%0A        # Shouldn't have got to here%0A        self.assert_('_9' not in g.serialize(format=%22turtle%22))%0A%0A%0A%0A%0A

Add (skipping) test for unresolved issue #161