code: def test_quantile_invalid(
      self, invalid, datetime_frame, interp_method
  ):
      msg = "percentiles should all be in the interval \\[0, 1\\]"
      interpolation, method = interp_method
      with pytest.raises(ValueError, match=msg):
          datetime_frame.quantile(
              invalid, interpolation=interpolation, method=method
          )
  
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index, Series, Timestamp
  import pandas._testing
label_desc: Use image node_id 18 for calling the TestDataFrameQuantile obj's underlying member method code with example usage: obj.test_quantile_invalid(invalid, datetime_frame, interp_method) without return types