code: def test_get_default_target_names():
      clf = SGDRegressor(**SGD_KWARGS)
      X, y = make_regression(n_targets=1, n_features=3)
      clf.fit(X, y)
      assert set(get_default_target_names(clf)) == {"y"}
  
      clf = ElasticNet()
      X, y = make_regression(n_targets=2, n_features=3)
      clf.fit(X, y)
      assert set(get_default_target_names(clf)) == {"y0", "y1"}
  
imports: from __future__ import absolute_import
  import numpy
  import pytest
  from sklearn.datasets import make_classification, make_regression
  from sklearn.feature_extraction.text import TfidfVectorizer, CountVectorizer
  from sklearn.linear_model import LogisticRegression, ElasticNet, SGDRegressor
  from sklearn.ensemble import RandomForestClassifier
  from sklearn.linear_model import SGDClassifier
  from sklearn.naive_bayes import GaussianNB, BernoulliNB
  from sklearn.tree import DecisionTreeClassifier
  from sklearn.multiclass import OneVsRestClassifier
  from eli5._feature_names import FeatureNames
  from eli5.sklearn.utils import get_feature_names, get_default_target_names, has_intercept, is_multiclass_classifier, is_multitarget_regressor, get_num_features
  from .utils import SGD_KWARGS
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_default_target_names() without return types