code: def test_invert(self):
      for psser in self.fractional_extension_pssers:
          self.assertRaises(TypeError, lambda: ~psser)
  
imports: import unittest
  import pandas
  import numpy
  from pyspark import pandas
  from pyspark.pandas.config import option_context
  from pyspark.testing.pandasutils import PandasOnSparkTestCase
  from pyspark.pandas.tests.data_type_ops.testing_utils import OpsTestBase
  from pyspark.pandas.typedef.typehints import extension_dtypes_available, extension_float_dtypes_available, extension_object_dtypes_available
  from pyspark.sql.types import DecimalType, IntegralType
label_desc: Use image node_id 9 for calling the FractionalExtensionOpsTest obj's underlying member method code with example usage: obj.test_invert() without return types