code: def test_quantile_raises():
      df = DataFrame(
          [["foo", "a"], ["foo", "b"], ["foo", "c"]],
          columns=["key", "val"],
      )
  
      with pytest.raises(
          TypeError, match="cannot be performed against 'object' dtypes"
      ):
          df.groupby("key").quantile()
  
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index
  import pandas._testing
label_desc: Use image node_id 7 for calling a global function with example usage: test_quantile_raises() without return types