code: def test_percentile_unexpected_method(self, dtype):
      for xp in (numpy, cupy):
          a = testing.shaped_random((4, 2, 3, 2), xp, dtype)
          q = testing.shaped_random((5,), xp, dtype=dtype, scale=100)
          with pytest.raises(ValueError):
              xp.percentile(a, q, axis=-1, method="deadbeef")
  
imports: import warnings
  import numpy
  import pytest
  import cupy
  import cupy._core._accelerator
  from cupy import cuda
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestQuantile obj's underlying member method code with example usage: obj.test_percentile_unexpected_method(dtype) without return types