Commit ec4ec499 authored by Jérome Perrin's avatar Jérome Perrin

tests: fix testRandomNumberGenerator

parent bd6b2dc7
...@@ -68,6 +68,6 @@ class RandomNumberGeneratorTestCase(TestCase): ...@@ -68,6 +68,6 @@ class RandomNumberGeneratorTestCase(TestCase):
self.assertRaises(ValueError, rng.generateNumber) self.assertRaises(ValueError, rng.generateNumber)
def testUnknownDistribution(self): def testUnknownDistribution(self):
rng = RandomNumberGenerator(obj, distribution='Unknown') self.assertRaises(ValueError, RandomNumberGenerator,
self.assertRaises(ValueError, rng.generateNumber) 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