def test_syntax_error(self):

        self.assertRaises(SyntaxError, self.table.where, 'foo bar')
Using a condition with a syntax error.
dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_queries.py/ScalarTableUsageTestCase.test_syntax_error