<s> import unittest <EOL> from StringIO import StringIO <EOL> from rdflib . plugins . sparql . results . tsvresults import TSVResultParser <EOL> class TestTSVResults ( unittest . TestCase ) : <EOL> def test_empty_tsvresults_bindings ( self ) : <EOL> source = """<STR_LIT>""" <EOL> parser = TSVResultParser ( ) <EOL> source = StringIO ( source ) <EOL> result = parser . parse ( source ) <EOL> for idx , row in enumerate ( result ) : <EOL> self . assertTrue ( row [ idx ] is None ) </s>
