code: def test_restrict_ml_task_options(self, X, y_binary):
      with pytest.raises(ValueError):
          calculate_relevance_table(
              X, y_binary, ml_task="some_other_task"
          )
  
imports: import warnings
  import mock
  import numpy
  import pandas
  import pytest
  from tsfresh.feature_selection.relevance import calculate_relevance_table, combine_relevance_tables, get_feature_type, infer_ml_task
label_desc: Use image node_id 5 for calling the TestCalculateRelevanceTable obj's underlying member method code with example usage: obj.test_restrict_ml_task_options(X, y_binary) without return types