code: def test_corner_orientations_astronaut():
      img = rgb2gray(data.astronaut())
      corners = corner_peaks(
          corner_fast(img, 11, 0.35),
          min_distance=10,
          threshold_abs=0,
          threshold_rel=0.1,
      )
      expected = np.array(
          [
              -4.40598471e-01,
              -1.46554357e00,
              2.39291733e00,
              -1.63869275e00,
              1.45931342e00,
              -1.64397304e00,
              -1.76069982e00,
              1.09650167e00,
              -1.65449964e00,
              1.19134149e00,
              5.46905279e-02,
              2.17103132e00,
              8.12701702e-01,
              -1.22091334e-01,
              -2.01162417e00,
              1.25854853e00,
              3.05330950e00,
              2.01197383e00,
              1.07812134e00,
              3.09780364e00,
              -3.49561988e-01,
              2.43573659e00,
              3.14918803e-01,
              -9.88548213e-01,
              -1.88247204e-01,
              2.47305654e00,
              -2.99143370e00,
              1.47154532e00,
              -6.61151410e-01,
              -1.68885773e00,
              -3.09279990e-01,
              -2.81524886e00,
              -1.75220190e00,
              -1.69230287e00,
              -7.52950306e-04,
          ]
      )
  
      actual = corner_orientations(img, corners, octagon(3, 2))
      assert_almost_equal(actual, expected)
  
imports: import numpy
  import pytest
  from numpy.testing import assert_almost_equal, assert_array_equal, assert_equal
  from skimage import data, draw, img_as_float
  from skimage._shared._warnings import expected_warnings
  from skimage._shared.testing import run_in_parallel
  from skimage._shared.utils import _supported_float_type
  from skimage.color import rgb2gray
  from skimage.feature import corner_fast, corner_foerstner, corner_harris, corner_kitchen_rosenfeld, corner_moravec, corner_orientations, corner_peaks, corner_shi_tomasi, corner_subpix, hessian_matrix, hessian_matrix_det, hessian_matrix_eigvals, peak_local_max, shape_index, structure_tensor, structure_tensor_eigenvalues
  from skimage.morphology import cube, octagon
label_desc: Use image node_id 35 for calling a global function with example usage: test_corner_orientations_astronaut() without return types