code: def test_pipe(self):
      psdf = ps.DataFrame(
          {
              "category": ["A", "A", "B"],
              "col1": [1, 2, 3],
              "col2": [4, 5, 6],
          },
          columns=["category", "col1", "col2"],
      )
  
      self.assertRaisesRegex(
          ValueError,
          "arg is both the pipe target and a keyword argument",
          lambda: psdf.pipe((lambda x: x, "arg"), arg="1"),
      )
  
imports: from datetime import datetime
  import sys
  import unittest
  from typing import List
  import numpy
  import pandas
  from pyspark import pandas
  from pyspark.loose_version import LooseVersion
  from pyspark.pandas.config import option_context
  from pyspark.testing.pandasutils import ComparisonTestBase
  from pyspark.testing.sqlutils import SQLTestUtils
label_desc: Use image node_id 10 for calling the FrameApplyFunctionMixin obj's underlying member method code with example usage: obj.test_pipe() without return types