code: def test_median_axis_sequence(self, xp, dtype):
      a = testing.shaped_random(self.shape, xp, dtype)
      return xp.median(a, self.axis, keepdims=self.keepdims)
  
imports: import math
  import numpy
  import pytest
  import cupy
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestMedianAxis obj's underlying member method code with example usage: obj.test_median_axis_sequence(xp, dtype) and returns: xp