def test_valid_distribution_with_shape_parameters(self):
    'Test for a valid distribution with shape parameters.'
    plugin = Plugin(distribution='truncnorm', shape_parameters=[0, np.inf])
    self.assertEqual(plugin.distribution, stats.truncnorm)
    self.assertEqual(plugin.shape_parameters, [0, np.inf])
Test for a valid distribution with shape parameters.
def test_valid_distribution_with_shape_parameters(self):
    
    plugin = Plugin(distribution='truncnorm', shape_parameters=[0, np.inf])
    self.assertEqual(plugin.distribution, stats.truncnorm)
    self.assertEqual(plugin.shape_parameters, [0, np.inf])