From 609b204fd5c1026fa26ca969ba69c91b14929cb9 Mon Sep 17 00:00:00 2001 From: Steve Holden Date: Thu, 17 Dec 2020 09:48:40 +0000 Subject: [PATCH] Minor improvement to commentary --- testdata/factories/statistical.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testdata/factories/statistical.py b/testdata/factories/statistical.py index 9afe2ee..5d9dc3c 100644 --- a/testdata/factories/statistical.py +++ b/testdata/factories/statistical.py @@ -7,8 +7,7 @@ class StatisticalPercentageFactory(Factory): """ Returns a different value a precentage of a time. - :param factories: a list of 2 item tuples. each tuple contains The Factory that its result should be returned as the first item, - and the chance of that value returning (in precents) as the second. + :param factories: a list of (factory, percentage) tuples. The given factory will be called with the given percentage probability. Note: The sum of all precentages should be 100. Examples: