code: def test_StepFunctionBadShape(self):
      x = np.arange(20)
      y = np.arange(21)
      assert_raises(ValueError, StepFunction, x, y)
      x = np.zeros((2, 2))
      y = np.zeros((2, 2))
      assert_raises(ValueError, StepFunction, x, y)
  
file_path: statsmodels/statsmodels/distributions/tests/test_ecdf.py
imports: import numpy
  import numpy.testing
  from numpy.testing import assert_raises
  from statsmodels.distributions import StepFunction, monotone_fn_inverter
  from statsmodels.distributions import ECDFDiscrete
label_desc: Use image node_id 2 for calling the TestDistributions obj's underlying member method code with example usage: obj.test_StepFunctionBadShape() without return types