code: def test_from_pandas_with_incorrect_schema(self):
      fields = self.data_type.fields.copy()
      fields[0], fields[7] = (
          fields[7],
          fields[0],
      )  # swap str with tinyint
      wrong_schema = DataTypes.ROW(
          fields
      )  # should be DataTypes.STRING()
      with self.assertRaisesRegex(
          Exception, "Expected a string.*got int8"
      ):
          self.t_env.from_pandas(self.pdf, schema=wrong_schema)
  
imports: import datetime
  import decimal
  from pandas.testing import assert_frame_equal
  from pyflink.common import Row
  from pyflink.table.types import DataTypes
  from pyflink.testing import source_sink_utils
  from pyflink.testing.test_case_utils import PyFlinkBatchTableTestCase, PyFlinkStreamTableTestCase
label_desc: Use image node_id 1 for calling the PandasConversionTests obj's underlying member method code with example usage: obj.test_from_pandas_with_incorrect_schema() without return types