code: def test_partial_application(self):
      unischema = Unischema("foo", [])
      func = partial(dict_to_spark_row, unischema)
      func({})
  
      # Must pass as positional arg in the right order
      func = partial(dict_to_spark_row, {})
      with self.assertRaises(AssertionError):
          func(Unischema)
  
file_path: petastorm/petastorm/tests/test_run_in_subprocess.py
imports: import unittest
  from functools import partial
  from petastorm.unischema import dict_to_spark_row, Unischema
  from petastorm.utils import run_in_subprocess
label_desc: Use image node_id 2 for calling the RunInSubprocessTest obj's underlying member method code with example usage: obj.test_partial_application() without return types