code: def test_bad_input_X(X_test, create_X_y):
      X_train, y_train = create_X_y
      ds_test = BaseDS()
      ds_test.fit(X_train, y_train)
      with pytest.raises(ValueError):
          ds_test.predict(X_test)
  
imports: import unittest.mock
  from unittest.mock import Mock, MagicMock
  import numpy
  import pytest
  from sklearn.exceptions import NotFittedError
  from sklearn.neighbors import KNeighborsClassifier
  from deslib.base import BaseDS
  from deslib.util.dfp import frienemy_pruning_preprocessed
  from .conftest import create_base_classifier
label_desc: Use image node_id 17 for calling a global function with example usage: test_bad_input_X(X_test, create_X_y) without return types