code: def test_safe_tags_no_get_tags(estimator, key, expected_results):
      # check the behaviour of _safe_tags when an estimator does not implement
      # _get_tags
      assert _safe_tags(estimator, key=key) == expected_results
  
file_path: scikit-learn/sklearn/utils/tests/test_tags.py
imports: import pytest
  from sklearn.base import BaseEstimator
  from sklearn.utils._tags import _DEFAULT_TAGS, _safe_tags
label_desc: Use image node_id 2 for calling a global function with example usage: test_safe_tags_no_get_tags(estimator, key, expected_results) without return types