def testGraphUriSyntax(self):
        g = rdflib.ConjunctiveGraph()
        # getQName will not abbreviate this, so it should serialize as
        # a '<...>' term.
        g.add(TRIPLE + (rdflib.URIRef("http://example.com/foo."),))
        out = g.serialize(format='trig')
        self.assert_(b'<http://example.com/foo.> {' in out)
dataset/ETHPy150Open RDFLib/rdflib/test/test_trig.py/TestTrig.testGraphUriSyntax/original