class_docstr: Test Manifold visualizer
class_docstr_tok: ["Test","Manifold","visualizer"]
docstr: Should raise a ValueError when a bad manifold is passed in
docstr_tok: ["Should","raise","a","ValueError","when","a","bad","manifold","is","passed","in"]
code: def test_bad_manifold_exception(self):
      """
      Should raise a ValueError when a bad manifold is passed in
      """
      with pytest.raises(
          YellowbrickValueError, match="could not create manifold"
      ):
          Manifold(manifold=32)
  
imports: import pytest
  from yellowbrick.features.manifold import *
  from yellowbrick.utils.types import is_estimator
  from yellowbrick.features.base import TargetType
  from yellowbrick.exceptions import YellowbrickValueError, ModelError, NotFitted
  from sklearn.pipeline import Pipeline
  from sklearn.decomposition import PCA
  from sklearn.datasets import make_blobs
  from sklearn.datasets import make_s_curve
  from sklearn.manifold import LocallyLinearEmbedding
  from unittest.mock import patch
  from tests.base import VisualTestCase
label_desc: Use image node_id 4 for calling the TestManifold obj's underlying member method code with example usage: obj.test_bad_manifold_exception() without return types