docstr: Discretiser should accept upper boundary up to half
code: def test_outlier_percentile_upper_boundary(self):
      """Discretiser should accept upper boundary up to half"""
  
      Discretiser(method="outlier", outlier_percentile=0.49)
      with pytest.raises(ValueError):
          Discretiser(method="outlier", outlier_percentile=0.5)
  
imports: import math
  import numpy
  import pytest
  from causalnex.discretiser import Discretiser
label_desc: Use image node_id 2 for calling the TestOutlier obj's underlying member method code with example usage: obj.test_outlier_percentile_upper_boundary() without return types