class_docstr: Test polynomial creation with symbol kwarg.
docstr: Values for symbol that should pass input validation.
docstr_tok: ["Values","for","symbol","that","should","pass","input","validation","."]
code: def test_valid_symbols(self, symbol):
      """
      Values for symbol that should pass input validation.
      """
      p = poly.Polynomial(self.c, symbol=symbol)
      assert_equal(p.symbol, symbol)
  
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 3 for calling the TestInit obj's underlying member method code with example usage: obj.test_valid_symbols(symbol) without return types