class_docstr: Test the median of means function
docstr: Test that the output is correct
code: def test_output(self, arr, num_batches, expected, interface):
      """Test that the output is correct"""
      arr = convert_to_interface(arr, interface)
  
      actual = median_of_means(arr, num_batches)
      assert actual.shape == ()
      assert np.allclose(actual, expected)
  
imports: import pytest
  import numpy
  import pennylane
  import pennylane.numpy
  from pennylane.shadows import ClassicalShadow, median_of_means, pauli_expval
label_desc: Use image node_id 1 for calling the TestMedianOfMeans obj's underlying member method code with example usage: obj.test_output(arr, num_batches, expected, interface) without return types