code: def test_constant_feature_irrelevant(self, y_binary):
      X = pd.DataFrame([1, 1, 1], columns=["feature_binary"])
  
      relevance_table = calculate_relevance_table(X, y_binary)
      assert "feature_binary" == relevance_table.index[0]
      assert "constant" == relevance_table.type[0]
      assert np.isnan(relevance_table.p_value[0])
      assert not relevance_table.relevant[0]
  
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 6 for calling the TestCalculateRelevanceTable obj's underlying member method code with example usage: obj.test_constant_feature_irrelevant(y_binary) without return types