docstr: if all data is identical, and num_buckets>1, then this is not possible.
  In this case the standard behaviour of numpy is followed, and many identical
  splits will be created. See transform for how these are applied
code: def test_fit_does_not_attempt_to_deal_with_identical_split_points(
      self,
  ):
      """if all data is identical, and num_buckets>1, then this is not possible.
      In this case the standard behaviour of numpy is followed, and many identical
      splits will be created. See transform for how these are applied"""
  
      arr = np.array([1 for _ in range(20)])
      d = Discretiser(method="uniform", num_buckets=4)
      d.fit(arr)
      assert np.array_equal(
          np.array([d.numeric_split_points[0] for _ in range(3)]),
          d.numeric_split_points,
      )
  
imports: import math
  import numpy
  import pytest
  from causalnex.discretiser import Discretiser
label_desc: Use image node_id 2 for calling the TestUniform obj's underlying member method code with example usage: obj.test_fit_does_not_attempt_to_deal_with_identical_split_points() without return types