class_docstr: Test class for scipy.stats.variation
code: def test_axis_none(self):
      # Check that `variation` computes the result on the flattened
      # input when axis is None.
      y = variation([[0, 1], [2, 3]], axis=None)
      assert_allclose(y, np.sqrt(5 / 4) / 1.5)
  
imports: import numpy
  from numpy.testing import assert_equal, assert_allclose
  import pytest
  from scipy.stats import variation
  from scipy._lib._util import AxisError
label_desc: Use image node_id 11 for calling the TestVariation obj's underlying member method code with example usage: obj.test_axis_none() without return types