def test_signature_inspection_2args_incorrect_shapes(self):
        # both _pdf and _cdf defined, but shapes are inconsistent: raises
        try:
            _distr3_gen(name='dummy')
        except __HOLE__:
            pass
        else:
            raise AssertionError('TypeError not raised.')
dataset/ETHPy150Open scipy/scipy/scipy/stats/tests/test_distributions.py/TestSubclassingNoShapes.test_signature_inspection_2args_incorrect_shapes