docstr: Test that _ArrayMemoryError can be pickled 
docstr_tok: ["Test","that","_ArrayMemoryError","can","be","pickled"]
code: def test_pickling(self):
      """Test that _ArrayMemoryError can be pickled"""
      error = _ArrayMemoryError((1023,), np.dtype(np.uint8))
      res = pickle.loads(pickle.dumps(error))
      assert res._total_size == error._total_size
  
file_path: catboost/contrib/python/numpy/py3/numpy/core/tests/test__exceptions.py
imports: import pickle
  import pytest
  import numpy
label_desc: Use image node_id 1 for calling the TestArrayMemoryError obj's underlying member method code with example usage: obj.test_pickling() without return types