code: def test_selection_rate_empty():
      with pytest.raises(ValueError) as exc:
          _ = metrics.selection_rate([], [])
      assert _EMPTY_INPUT_PREDICTIONS_ERROR_MESSAGE == exc.value.args[0]
  
imports: import pytest
  import fairlearn.metrics
  from fairlearn.metrics._base_metrics import _EMPTY_INPUT_PREDICTIONS_ERROR_MESSAGE
label_desc: Use image node_id 1 for calling a global function with example usage: test_selection_rate_empty() without return types