docstr: a value error should be raised if method=percentiles and no percentile split points are provided
code: def test_percentile_requires_percentile_split_points(self):
      """a value error should be raised if method=percentiles and no percentile split points are provided"""
  
      selected_method = "percentiles"
      with pytest.raises(
          ValueError,
          match=f"{selected_method} method expects percentile_split_points",
      ):
          Discretiser(method=selected_method)
  
imports: import math
  import numpy
  import pytest
  from causalnex.discretiser import Discretiser
label_desc: Use image node_id 9 for calling the TestErrorHandling obj's underlying member method code with example usage: obj.test_percentile_requires_percentile_split_points() without return types