RDFLib/rdfextras — Issue #30: test_sparql_parser_instability-test_bad_sparql marked as "known issue"
Author: gjhiggins
Created: 2012-02-20 07:57:31+00:00
State: open

gjhigg...@gmail.com, 2011-09-20T15:18:43.000Z

What steps will reproduce the problem?
1. python ./run_tests.py

What is the expected output? What do you see instead?

Expected test to pass

ERROR: test_sparql_parser_instability.test_bad_sparql
----------------------------------------------------------------------
Traceback (most recent call last):
File "nose-1.1.2-py2.7.egg/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "test/test_sparql/test_sparql_parser_instability.py", line 9, in test_bad_sparql
Graph().query(BAD_SPARQL)
File "rdflib/graph.py", line 804, in query
return result(processor.query(query_object, initBindings, initNs, **kwargs))
File "rdfextras/sparql/processor.py", line 28, in query
strOrQuery = rdfextras.sparql.parser.parse(strOrQuery)
File "rdfextras/sparql/parser.py", line 774, in parse
return Query.parseString(stuff)[0]
File "pyparsing-1.5.6-py2.7.egg/pyparsing.py", line 1032, in parseString
raise exc
ParseException: Expected "SELECT" (at char 46), (line:2, col:46)

Please use labels and text to provide additional information.