'Check that we get an error with invalid parens.'

def test_bad_parens(self):

    with self.assertRaisesRegexp(Exception, 'Unknown    parenthesis'):
        preview.LatexRendered('x^2', parens='not    parens')
