'Test error handling of undefined tgrep operators.'

def test_bad_operator(self):

    tree = ParentedTree.fromstring(u'(S    (A    (T    x))    (B    (N    x)))')
    self.assertRaises(tgrep.TgrepException, list, tgrep.tgrep_positions(u'*    >>>    S', [tree]))
