code: def test_unpackbits_large():
      # test all possible numbers via comparison to already tested packbits
      d = np.arange(277, dtype=np.uint8)
      assert_array_equal(np.packbits(np.unpackbits(d)), d)
      assert_array_equal(np.packbits(np.unpackbits(d[::2])), d[::2])
      d = np.tile(d, (3, 1))
      assert_array_equal(
          np.packbits(np.unpackbits(d, axis=1), axis=1), d
      )
      d = d.T.copy()
      assert_array_equal(
          np.packbits(np.unpackbits(d, axis=0), axis=0), d
      )
  
file_path: numpy/numpy/lib/tests/test_packbits.py
imports: import numpy
  from numpy.testing import assert_array_equal, assert_equal, assert_raises
  import pytest
  from itertools import chain
label_desc: Use image node_id 10 for calling a global function with example usage: test_unpackbits_large() without return types