code: def test_allowed_methods():
      msg = "The `method` must be in ('.632', '.632+', 'oob'). Got 1."
      lr = LogisticRegression(solver="liblinear", multi_class="ovr")
      assert_raises(
          ValueError, msg, bootstrap_point632_score, lr, X, y, 200, 1
      )
  
      msg = (
          "The `method` must be in ('.632', '.632+', 'oob'). Got test."
      )
      lr = LogisticRegression(solver="liblinear", multi_class="ovr")
      assert_raises(
          ValueError,
          msg,
          bootstrap_point632_score,
          lr,
          X,
          y,
          200,
          "test",
      )
  
imports: import os
  import numpy
  import pandas
  import pytest
  from sklearn.base import BaseEstimator
  from sklearn.linear_model import LogisticRegression
  from sklearn.tree import DecisionTreeClassifier
  from mlxtend.data import iris_data
  from mlxtend.evaluate import bootstrap_point632_score
  from mlxtend.utils import assert_raises
label_desc: Use image node_id 8 for calling a global function with example usage: test_allowed_methods() without return types