

def testOrderBy(self):
    graph = ConjunctiveGraph(plugin.get('IOMemory', Store)())
    graph.parse(StringIO(test_data), format='n3')
    results = graph.query(test_query)
    self.failUnless((False not in [(r[0] == a) for (r, a) in zip(a, ['Alice', 'Bob', 'Charlie', 'Dave'])]))

dataset/ETHPy150Open RDFLib/rdfextras/test/test_sparql/test_sparql_order_by.py TestOrderBy.testOrderBy/VarMisuse@75/92 `results`->`a`