code: def test_20news_length_consistency():
      """Checks the length consistencies within the bunch
  
      This is a non-regression test for a bug present in 0.16.1.
      """
      try:
          data = datasets.fetch_20newsgroups(
              subset="all", download_if_missing=False, shuffle=False
          )
      except IOError:
          raise SkipTest("Download 20 newsgroups to run this test")
      # Extract the full dataset
      data = datasets.fetch_20newsgroups(subset="all")
      assert_equal(len(data["data"]), len(data.data))
      assert_equal(len(data["target"]), len(data.target))
      assert_equal(len(data["filenames"]), len(data.filenames))
  
file_path: catboost/contrib/python/scikit-learn/py2/sklearn/datasets/tests/test_20news.py
imports: import numpy
  import scipy.sparse
  from sklearn.utils.testing import assert_equal
  from sklearn.utils.testing import assert_true
  from sklearn.utils.testing import SkipTest
  from sklearn import datasets
label_desc: Use image node_id 2 for calling a global function with example usage: test_20news_length_consistency() without return types