docstr: An empty array requires no correction, should return 1.0.
docstr_tok: ["An","empty","array","requires","no","correction",",","should","return","1.0","."]
code: def test_empty(self):
      """An empty array requires no correction, should return 1.0."""
      ranks = np.array([], dtype=np.float64)
      c = tiecorrect(ranks)
      assert_equal(c, 1.0)
  
file_path: catboost/contrib/python/scipy/py3/scipy/stats/tests/test_rank.py
imports: import numpy
  from numpy.testing import assert_equal, assert_array_equal
  from scipy.stats import rankdata, tiecorrect
  import pytest
label_desc: Use image node_id 1 for calling the TestTieCorrect obj's underlying member method code with example usage: obj.test_empty() without return types