code: def __init__(self, tempfile):
      self.tempfile = tempfile
  
file_path: datalad/datalad/support/tests/test_locking.py
imports: import os
  import os.path
  import sys
  from pathlib import Path
  from time import time
  from fasteners import InterProcessLock
  from datalad.tests.utils_pytest import assert_false, assert_greater, assert_in, assert_not_in, assert_raises, assert_true, eq_, ok_, ok_exists, on_osx, with_tempfile
  from ...cmd import CommandError, StdOutErrCapture, WitlessRunner
  from ...utils import ensure_unicode
  from ..locking import lock_if_check_fails, try_lock_informatively
label_desc: Use image node_id 1 to create a new Subproc object  with example: obj = Subproc(tempfile)