class_docstr: Test the checks for the `target_binary_feature_binary_test`.
class_docstr_tok: ["Test","the","checks","for","the","`","target_binary_feature_binary_test","`","."]
code: def test_checks_feature_nan(
      self, binary_series_with_nan, binary_series
  ):
      with pytest.raises(ValueError):
          target_binary_feature_binary_test(
              x=binary_series_with_nan, y=binary_series
          )
  
imports: import numpy
  import pandas
  import pytest
  from tests.fixtures import warning_free
  from tsfresh.defaults import TEST_FOR_BINARY_TARGET_REAL_FEATURE
  from tsfresh.feature_selection.significance_tests import target_binary_feature_binary_test, target_binary_feature_real_test, target_real_feature_binary_test, target_real_feature_real_test
label_desc: Use image node_id 5 for calling the TestChecksBinaryBinary obj's underlying member method code with example usage: obj.test_checks_feature_nan(binary_series_with_nan, binary_series) without return types