code: def test_save_pickle(self):
      data = object()
  
      sio = io.BytesIO()
      with self.assertRaises(ValueError):
          cupy.save(sio, data, allow_pickle=False)
      sio.close()
  
      sio = io.BytesIO()
      cupy.save(sio, data, allow_pickle=True)
      sio.close()
  
file_path: cupy/tests/cupy_tests/io_tests/test_npz.py
imports: import io
  import pickle
  import unittest
  import cupy
  from cupy import testing
label_desc: Use image node_id 2 for calling the TestNpz obj's underlying member method code with example usage: obj.test_save_pickle() without return types