code: def test_ddof_corrcoef(self):
      # See gh-3336
      x = np.ma.masked_equal([1, 2, 3, 4, 5], 4)
      y = np.array([2, 2.5, 3.1, 3, 5])
      # this test can be removed after deprecation.
      with suppress_warnings() as sup:
          sup.filter(DeprecationWarning, "bias and ddof have no effect")
          r0 = np.ma.corrcoef(x, y, ddof=0)
          r1 = np.ma.corrcoef(x, y, ddof=1)
          # ddof should not have an effect (it gets cancelled out)
          assert_allclose(r0.data, r1.data)
  
file_path: numpy/numpy/ma/tests/test_regression.py
imports: import numpy
  from numpy.testing import assert_, assert_array_equal, assert_allclose, suppress_warnings
label_desc: Use image node_id 10 for calling the TestRegression obj's underlying member method code with example usage: obj.test_ddof_corrcoef() without return types