code: def test_partial():
      assert copy(Machine(), byref=True)
      assert copy(Machine(), byref=True, recurse=True)
      assert copy(Machine(), recurse=True)
      assert copy(Machine())
  
imports: import dill
  from functools import partial
  import warnings
label_desc: Use image node_id 4 for calling a global function with example usage: test_partial() without return types