code: def test_series_not_referred(self):
      psdf = ps.DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})
      with self.assertRaisesRegex(ValueError, "The series in {ser}"):
          ps.sql("SELECT {ser} FROM range(10)", ser=psdf.A)
  
file_path: spark/python/pyspark/pandas/tests/test_sql.py
imports: from pyspark import pandas
  from pyspark.errors import ParseException
  from pyspark.testing.pandasutils import PandasOnSparkTestCase
  from pyspark.testing.sqlutils import SQLTestUtils
  from pyspark.testing.utils import assertDataFrameEqual
label_desc: Use image node_id 3 for calling the SQLTestsMixin obj's underlying member method code with example usage: obj.test_series_not_referred() without return types