Commit 383ac303 authored by Jérome Perrin's avatar Jérome Perrin

tests: fix testRandomNumberGenerator

parent 05b8072c
......@@ -68,6 +68,6 @@ class RandomNumberGeneratorTestCase(TestCase):
self.assertRaises(ValueError, rng.generateNumber)
def testUnknownDistribution(self):
rng = RandomNumberGenerator(obj, distribution='Unknown')
self.assertRaises(ValueError, rng.generateNumber)
self.assertRaises(ValueError, RandomNumberGenerator,
obj, distribution='Unknown')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment