code: def setUp(self):
      self.old_routine_accelerators = _acc.get_routine_accelerators()
      self.old_reduction_accelerators = (
          _acc.get_reduction_accelerators()
      )
      if self.backend == "device":
          _acc.set_routine_accelerators(["cub"])
          _acc.set_reduction_accelerators([])
      elif self.backend == "block":
          _acc.set_routine_accelerators([])
          _acc.set_reduction_accelerators(["cub"])
      elif self.backend == "fallback":
          _acc.set_routine_accelerators([])
          _acc.set_reduction_accelerators([])
      yield
      _acc.set_routine_accelerators(self.old_routine_accelerators)
      _acc.set_reduction_accelerators(self.old_reduction_accelerators)
  
imports: import unittest
  import numpy
  import pytest
  import cupy
  import cupy._core._accelerator
  from cupy._core import _cub_reduction
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestCubReduction obj's underlying member method code with example usage: obj.setUp() without return types