code: def test_entry_points():
      with pytest.warns(DeprecationWarning):
          assert "pytest" in [
              ep.name for ep in entry_points(group="console_scripts")
          ]
  
imports: from __future__ import annotations
  import pytest
  from dask._compatibility import entry_points
label_desc: Use image node_id 2 for calling a global function with example usage: test_entry_points() without return types