def test_no_shape_parameters_exception(self):
    'Test raising an exception when shape parameters are not specified\n        for the truncated normal distribution.'
    plugin = Plugin(distribution='truncnorm')
    msg = 'For the truncated normal distribution'
    with self.assertRaisesRegex(ValueError, msg):
        plugin._rescale_shape_parameters(self.location_parameter, self.scale_parameter)
Test raising an exception when shape parameters are not specified
for the truncated normal distribution.
def test_no_shape_parameters_exception(self):
    'Test raising an exception when shape parameters are not specified\n        for the truncated normal distribution.'
    plugin = Plugin(distribution='truncnorm')
    msg = 'For the truncated normal distribution'
    with self.assertRaisesRegex(ValueError, msg):
        plugin._rescale_shape_parameters(self.location_parameter, self.scale_parameter)