class_docstr: Test polynomial creation with symbol kwarg.
code: def test_symbol_bad_input(self, bad_input, exception):
      with pytest.raises(exception):
          p = poly.Polynomial(self.c, symbol=bad_input)
  
imports: import pytest
  import numpy.polynomial
  from numpy.core import array
  from numpy.testing import assert_equal, assert_raises, assert_
label_desc: Use image node_id 2 for calling the TestInit obj's underlying member method code with example usage: obj.test_symbol_bad_input(bad_input, exception) without return types