docstr: Pickle and unpickle an object using ``pickle.dump`` / ``pickle.load`` on
  a temporary file.
code: def _get_nobj_file(self, obj, dump_kwargs, load_kwargs):
      """
      Pickle and unpickle an object using ``pickle.dump`` / ``pickle.load`` on
      a temporary file.
      """
      with tempfile.TemporaryFile("w+b") as pkl:
          pickle.dump(obj, pkl, **dump_kwargs)
          pkl.seek(0)  # Reset the file to the beginning to read it
          nobj = pickle.load(pkl, **load_kwargs)
  
      return nobj
  
imports: from __future__ import unicode_literals
  import os
  import time
  import subprocess
  import warnings
  import tempfile
  import pickle
  import pytest
label_desc: Use image node_id 2 for calling the PicklableMixin obj's underlying member method code with example usage: obj._get_nobj_file(obj, dump_kwargs, load_kwargs) and returns: nobj